From 9fe24530794a0855c99fec028f4b417278c8537c Mon Sep 17 00:00:00 2001 From: pmirshad Date: Wed, 5 Sep 2012 01:52:55 +0530 Subject: [PATCH] Adding event argument to the bound function --- select2.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/select2.js b/select2.js index b3ee30fd..13b55a4e 100755 --- a/select2.js +++ b/select2.js @@ -1865,7 +1865,7 @@ this.search.bind("keyup", this.bind(this.resizeSearch)); - this.search.bind("blur", this.bind(function() { + this.search.bind("blur", this.bind(function(e) { this.container.removeClass("select2-container-active"); this.search.removeClass("select2-focused"); this.clearSearch();