Skip to content

Commit

Permalink
Removed unnecessary code.
Browse files Browse the repository at this point in the history
- It was potentially harmful. As 'li.ime-disable' doesn't exists in DOM. No more. It should have been 'div.ime-disable' if it was necessary.
  • Loading branch information
samyakbhuta committed Sep 12, 2013
1 parent 87866ae commit 2ad3cee
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/jquery.ime.selector.js
Original file line number Diff line number Diff line change
Expand Up @@ -428,7 +428,6 @@
}

this.$menu.find( '.ime-checked' ).removeClass( 'ime-checked' );
this.$menu.find( 'li.ime-disable' ).removeClass( 'ime-checked' );
this.$menu.find( 'li[data-ime-inputmethod=' + inputmethodId + ']' )
.addClass( 'ime-checked' );
ime = this.$element.data( 'ime' );
Expand Down

0 comments on commit 2ad3cee

Please sign in to comment.