From ac5cba9f22cf64bd479780e3305abe5f56d99552 Mon Sep 17 00:00:00 2001 From: unknown Date: Wed, 17 Oct 2012 12:04:19 +0100 Subject: [PATCH] Fix for Issue #93 on line 925. IE < version 9 doesn't support el.trim(), switched to JQuery $.trim() instead. --- agility.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/agility.js b/agility.js index 65c1f16..bdc58fa 100644 --- a/agility.js +++ b/agility.js @@ -922,7 +922,7 @@ var events = eventStr.split(';'); var handler = object.controller[eventStr]; $.each(events, function(i, ev){ - ev = ev.trim(); + ev = $.trim(ev); bindEvent(ev, handler); }); }