Revert "Simplify by using native JavaScript instead of jQuery"

This reverts commit 0fbdbc2c41.

Bug: T203750
Change-Id: I1bca27b2087f6fc1bfad153f17f4650c52786a7f
This commit is contained in:
Amire80
2018-09-07 08:13:20 +00:00
committed by jenkins-bot
parent 445087e5fe
commit 635cada69b
4 changed files with 23 additions and 15 deletions

View File

@@ -456,7 +456,7 @@
// Get the saved font using the fontSelector defined in mw.webfonts.setup
savedFont = this.$webfonts.getFont( language );
fonts.forEach( function ( font ) {
$.each( fonts, function ( key, font ) {
var $fontOption;
if ( font !== 'system' ) {