Skip to content

Commit

Permalink
Unset any auto-selected item when Esc key is pressed
Browse files Browse the repository at this point in the history
  • Loading branch information
bseth99 authored Jul 12, 2016
1 parent 51b0fe3 commit c386e7d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/jqueryui-multisearch.js
Original file line number Diff line number Diff line change
Expand Up @@ -686,6 +686,7 @@
case jQuery.ui.keyCode.ESCAPE:

this._hidePicker();
this.optionIndex = -1;
return true;

default:
Expand Down

0 comments on commit c386e7d

Please sign in to comment.