Skip to content

Commit

Permalink
fireEvent throws
Browse files Browse the repository at this point in the history
  • Loading branch information
mythz committed Nov 28, 2011
1 parent 05349fa commit ce3541b
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
4 changes: 3 additions & 1 deletion dist/jquip.all.js
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -1448,7 +1448,9 @@ $['plug']("events", function($){
var e = doc.createEvent('Events'); var e = doc.createEvent('Events');
this.dispatchEvent(e, e.initEvent(evt, true, true)); this.dispatchEvent(e, e.initEvent(evt, true, true));
} else if (this.fireEvent) } else if (this.fireEvent)
this.fireEvent("on" + evt); try {
this.fireEvent("on" + evt);
} catch(e){}
}); });
}; };
if (!$['init']) $(window)['bind']("load",$['onload']); if (!$['init']) $(window)['bind']("load",$['onload']);
Expand Down
Loading

0 comments on commit ce3541b

Please sign in to comment.