Simplify by using native JavaScript instead of jQuery
Change-Id: I2ca5fbb21ac473f482579a944e5ab68c9374191c
This commit is contained in:
@@ -456,7 +456,7 @@
|
||||
|
||||
// Get the saved font using the fontSelector defined in mw.webfonts.setup
|
||||
savedFont = this.$webfonts.getFont( language );
|
||||
$.each( fonts, function ( key, font ) {
|
||||
fonts.forEach( function ( font ) {
|
||||
var $fontOption;
|
||||
|
||||
if ( font !== 'system' ) {
|
||||
|
||||
Reference in New Issue
Block a user