From 455067ed4e60208eaf7195ad4f09d349bd20256e Mon Sep 17 00:00:00 2001 From: Igor Vaynberg Date: Thu, 13 Jun 2013 21:02:49 -0700 Subject: [PATCH] fix #1391 make tabbing out work when no results message is shown --- select2.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/select2.js b/select2.js index c12761d3..9a500b95 100644 --- a/select2.js +++ b/select2.js @@ -1651,6 +1651,8 @@ the specific language governing permissions and limitations under the Apache Lic if (data) { this.highlight(index); this.onSelect(data, options); + } else if (options.noFocus) { + this.close(); } },