Permalink
Browse files

fireEvent throws

  • Loading branch information...
mythz committed Nov 28, 2011
1 parent 05349fa commit ce3541be03a4032f5d13764d327664877b8376b3
Showing with 8 additions and 4 deletions.
  1. +3 −1 dist/jquip.all.js
  2. +1 −1 dist/jquip.all.min.js
  3. +1 −1 dist/jquip.events.min.js
  4. +3 −1 src/jquip.events.js
View
@@ -1448,7 +1448,9 @@ $['plug']("events", function($){
var e = doc.createEvent('Events');
this.dispatchEvent(e, e.initEvent(evt, true, true));
} else if (this.fireEvent)
- this.fireEvent("on" + evt);
+ try {
+ this.fireEvent("on" + evt);
+ } catch(e){}
});
};
if (!$['init']) $(window)['bind']("load",$['onload']);
Oops, something went wrong.

0 comments on commit ce3541b

Please sign in to comment.