From 7be0e509ffa167f50fbcd426a7a6c59a947e98db Mon Sep 17 00:00:00 2001 From: Kevin Chung Date: Sun, 9 Sep 2012 19:35:34 -0700 Subject: [PATCH] Remove references to `jQuery.Events`, replace with the closure dollar variable. --- select2.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/select2.js b/select2.js index 0840fb90..e2e2191c 100755 --- a/select2.js +++ b/select2.js @@ -926,7 +926,7 @@ if (this.opened()) return false; - event = jQuery.Event("open"); + event = $.Event("open"); this.opts.element.trigger(event); return !event.isDefaultPrevented(); }, @@ -1020,7 +1020,7 @@ this.results.empty(); this.clearSearch(); - this.opts.element.trigger(jQuery.Event("close")); + this.opts.element.trigger($.Event("close")); }, // abstract