From 64fdebe49697b37f1cc2c49230cc83ab7961c67a Mon Sep 17 00:00:00 2001 From: Prateek Saxena Date: Mon, 7 Apr 2014 15:00:30 +0530 Subject: [PATCH] Remove viewBox from SVG, not needed. Bug: 63590 Change-Id: Ia1e85441389377cab2720b5410cbf602a42fafe0 --- resources/ext.popups.core.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/resources/ext.popups.core.js b/resources/ext.popups.core.js index bb1e64573..e634a3293 100644 --- a/resources/ext.popups.core.js +++ b/resources/ext.popups.core.js @@ -148,7 +148,6 @@ $thumbnail = $( '' ) .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 = $( '' ) .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 :