Update package.json and fix eslint issues (#322)

This commit is contained in:
Kartik Mistry
2018-09-06 15:41:27 +05:30
committed by Santhosh Thottingal
parent 9ab4deeb4e
commit 27c21219b4
5 changed files with 31 additions and 24 deletions

View File

@@ -268,7 +268,8 @@
}
userInput = this.$element.val();
suggestion = userInput + languageName.substring( userInput.length, languageName.length );
suggestion = userInput +
languageName.substring( userInput.length, languageName.length );
if ( suggestion.toLowerCase() !== languageName.toLowerCase() ) {
// see if it was autonym match