Update eslint and stylelint and fixes

Change-Id: I02e615e0efa95b673702f1ce8c957a37397ced13
This commit is contained in:
Kartik Mistry
2017-11-25 08:33:21 +05:30
parent a353c5ab65
commit ca45dc7404
3 changed files with 13 additions and 13 deletions

View File

@@ -59,14 +59,14 @@
api = new mw.Api();
api.saveOption( 'language', language )
.done( function () {
location.reload();
} )
.fail( function () {
// Set options failed. Maybe the user has logged off.
// Continue like anonymous user and set cookie.
changeLanguageAnon();
} );
.done( function () {
location.reload();
} )
.fail( function () {
// Set options failed. Maybe the user has logged off.
// Continue like anonymous user and set cookie.
changeLanguageAnon();
} );
} );
mw.hook( 'mw.uls.interface.language.change' ).fire( language, deferred );

View File

@@ -178,7 +178,7 @@
id: imeId,
value: imeId
} )
.prop( 'checked', selected );
.prop( 'checked', selected );
if ( imeId === 'system' ) {
name = $.i18n( 'ext-uls-disable-input-method' );