From c386e7dd6eb10602d3dd7b40cc7e1268e7d8ee49 Mon Sep 17 00:00:00 2001 From: bseth99 Date: Tue, 12 Jul 2016 14:52:16 -0400 Subject: [PATCH] Unset any auto-selected item when Esc key is pressed --- src/jqueryui-multisearch.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/jqueryui-multisearch.js b/src/jqueryui-multisearch.js index 040d07a..b13b3bf 100644 --- a/src/jqueryui-multisearch.js +++ b/src/jqueryui-multisearch.js @@ -686,6 +686,7 @@ case jQuery.ui.keyCode.ESCAPE: this._hidePicker(); + this.optionIndex = -1; return true; default: