jenkins-bot has submitted this change and it was merged.

Change subject: Pass an actual array to fontStack option to webfonts
......................................................................


Pass an actual array to fontStack option to webfonts

Change-Id: Id836d7ce82e22e7d0679a5c615be014b1fce08b3
---
M resources/js/ext.uls.webfonts.js
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Nikerabbit: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/resources/js/ext.uls.webfonts.js b/resources/js/ext.uls.webfonts.js
index 0c524a7..c0922bc 100644
--- a/resources/js/ext.uls.webfonts.js
+++ b/resources/js/ext.uls.webfonts.js
@@ -87,7 +87,7 @@
                        // MediaWiki specific overrides for jquery.webfonts
                        $.extend( $.fn.webfonts.defaults, {
                                repository: mediawikiFontRepository,
-                               fontStack: new Array( $( 'body' ).css( 
'font-family' ) )
+                               fontStack: $( 'body' ).css( 'font-family' 
).split( /, /g )
                        } );
 
                        mw.webfonts.preferences.load();

-- 
To view, visit https://gerrit.wikimedia.org/r/80555
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Id836d7ce82e22e7d0679a5c615be014b1fce08b3
Gerrit-PatchSet: 3
Gerrit-Project: mediawiki/extensions/UniversalLanguageSelector
Gerrit-Branch: master
Gerrit-Owner: Santhosh <[email protected]>
Gerrit-Reviewer: Amire80 <[email protected]>
Gerrit-Reviewer: KartikMistry <[email protected]>
Gerrit-Reviewer: Nikerabbit <[email protected]>
Gerrit-Reviewer: Santhosh <[email protected]>
Gerrit-Reviewer: jenkins-bot

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to