Remove viewBox from SVG, not needed.

Bug: 63590
Change-Id: Ia1e85441389377cab2720b5410cbf602a42fafe0
This commit is contained in:
Prateek Saxena 2014-04-07 15:00:30 +05:30 committed by Yuvipanda
parent 030c2512b1
commit 64fdebe496

View file

@ -148,7 +148,6 @@
$thumbnail = $( '<svg>' )
.attr( {
xmlns: 'http://www.w3.org/2000/svg',
viewBox: '0 0 ' + SIZES.portraitImage.w + ' ' + SIZES.portraitImage.h,
width: SIZES.portraitImage.w,
height: SIZES.portraitImage.h
} )
@ -177,9 +176,6 @@
$thumbnail = $( '<svg>' )
.attr( {
xmlns: 'http://www.w3.org/2000/svg',
viewBox: '0 0 ' + SIZES.landscapeImage.w + ' ' + ( thumbnail.height > SIZES.landscapeImage.h ) ?
SIZES.landscapeImage.h :
thumbnail.height,
width: SIZES.landscapeImage.w + 3,
height: ( thumbnail.height > SIZES.landscapeImage.h ) ?
SIZES.landscapeImage.h :