Small cleanups and typo fixes

Change-Id: I4faeb4673fd5e903d2931d6071262a893d4009f5
This commit is contained in:
Niklas Laxström
2021-04-14 13:09:05 +03:00
committed by jenkins-bot
parent 929e707c49
commit 2a044e1e0a
5 changed files with 5 additions and 10 deletions

View File

@@ -64,7 +64,6 @@
this.$template = $( template );
this.uiLanguage = this.getInterfaceLanguage();
this.contentLanguage = this.getContentLanguage();
this.$imes = null;
this.$parent = $parent;
// ime system is lazy loaded, make sure it is initialized
mw.ime.init();
@@ -84,7 +83,6 @@
this.dirty = false;
this.$parent.$settingsPanel.empty();
this.$imes = $( document.body ).data( 'ime' );
this.$parent.$settingsPanel.append( this.$template );
$enabledOnly = this.$template.find( '.enabled-only' );
if ( $.ime.preferences.isEnabled() ) {