Avoid hardcoded font fallback stack
Change-Id: I07571d1390f4f68313b786d3dd1371488b6534a6
This commit is contained in:
committed by
Gerrit Code Review
parent
0f96c29356
commit
8bfe9862fa
@@ -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 || {};
|
||||
|
||||
Reference in New Issue
Block a user