Merge "Pass an actual array to fontStack option to webfonts"

This commit is contained in:
jenkins-bot
2013-08-26 05:57:47 +00:00
committed by Gerrit Code Review

View File

@@ -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();