Prtksxna has uploaded a new change for review.
https://gerrit.wikimedia.org/r/124296
Change subject: Remove viewBox from SVG, not needed.
......................................................................
Remove viewBox from SVG, not needed.
Bug: 63590
Change-Id: Ia1e85441389377cab2720b5410cbf602a42fafe0
---
M resources/ext.popups.core.js
1 file changed, 0 insertions(+), 2 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Popups
refs/changes/96/124296/1
diff --git a/resources/ext.popups.core.js b/resources/ext.popups.core.js
index db82f71..257c20a 100644
--- a/resources/ext.popups.core.js
+++ b/resources/ext.popups.core.js
@@ -130,7 +130,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
} )
@@ -156,7 +155,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 :
thumbnail.height
} )
--
To view, visit https://gerrit.wikimedia.org/r/124296
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ia1e85441389377cab2720b5410cbf602a42fafe0
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Popups
Gerrit-Branch: master
Gerrit-Owner: Prtksxna <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits