Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Unearthed bug: $(elem).bind('click.foo mousewheel.foo ',fn) ==> recur…

…sive loop in event.remove (Extra space, eek!)
  • Loading branch information...
commit 9af9a3b54c0baebab8c10bc02fd49f8929dd85ad 1 parent 44c486f
unknown authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  idle-timer/idle-timer.js
View
2  idle-timer/idle-timer.js
@@ -143,7 +143,7 @@ $.idleTimer = function(newTimeout){
}
//assign appropriate event handlers
- $(document).bind((events+' ').split(' ').join('.idleTimer '),handleUserEvent);
+ $(document).bind($.trim((events+' ').split(' ').join('.idleTimer ')),handleUserEvent);
//set a timeout to toggle state
Please sign in to comment.
Something went wrong with that request. Please try again.