Skip to content
This repository has been archived by the owner on Jan 12, 2018. It is now read-only.

Commit

Permalink
don’t remove non-existing timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
jnicklas committed Jan 8, 2015
1 parent 585710b commit f7652f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/event.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ class Event

resolve: ->
cancelAnimationFrame(@queue.frame) if @queue.frame
clearTimeout(@queue.timeout)
clearTimeout(@queue.timeout) if @queue.timeout
if @queue.length
perform = (args) =>
if @listeners
Expand Down

0 comments on commit f7652f0

Please sign in to comment.