Avoid hardcoded font fallback stack

Change-Id: I07571d1390f4f68313b786d3dd1371488b6534a6
This commit is contained in:
Santhosh Thottingal
2012-11-23 11:09:34 +05:30
committed by Gerrit Code Review
parent 0f96c29356
commit 8bfe9862fa

View File

@@ -30,7 +30,7 @@
// MediaWiki specific overrides for jquery.webfonts
$.extend( $.fn.webfonts.defaults, {
repository: mediawikiFontRepository,
fontStack: ['sans-serif'] // MediaWiki default font as per screen.css
fontStack: new Array( $( 'body' ).css( 'font-family' ) )
} );
mw.webfonts = mw.webfonts || {};