From 19c0d3c0b5b0ecc1e578d62e77856b901a2be10a Mon Sep 17 00:00:00 2001 From: gkostov Date: Thu, 15 Jan 2015 14:23:34 +0200 Subject: [PATCH] Properly off() the events in the "select2" namespace the dot, denoting a namespace and not an event name, was missing --- select2.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/select2.js b/select2.js index a0661148..e917c811 100644 --- a/select2.js +++ b/select2.js @@ -871,7 +871,7 @@ the specific language governing permissions and limitations under the Apache Lic select2.liveRegion.remove(); select2.dropdown.remove(); element.removeData("select2") - .off("select2"); + .off(".select2"); if (!element.is("input[type='hidden']")) { element .show()