diff options
Diffstat (limited to 'MLEB/UniversalLanguageSelector/resources/js/ext.uls.inputsettings.js')
-rw-r--r-- | MLEB/UniversalLanguageSelector/resources/js/ext.uls.inputsettings.js | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/MLEB/UniversalLanguageSelector/resources/js/ext.uls.inputsettings.js b/MLEB/UniversalLanguageSelector/resources/js/ext.uls.inputsettings.js index 099e2a1a..b4f69726 100644 --- a/MLEB/UniversalLanguageSelector/resources/js/ext.uls.inputsettings.js +++ b/MLEB/UniversalLanguageSelector/resources/js/ext.uls.inputsettings.js @@ -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() ) { @@ -111,7 +109,7 @@ */ markDirty: function () { this.dirty = true; - this.$parent.$window.find( 'button.uls-settings-apply' ).prop( 'disabled', false ); + this.$parent.enableApplyButton(); }, prepareInputmethods: function ( language ) { |