Skip to content
Snippets Groups Projects
Commit 68d00764 authored by Robert Speicher's avatar Robert Speicher
Browse files

Merge branch 'rs-clear-current-timer' into 'master'

Call clearInterval for the currentTimer if one exists

Prevents a double-click from causing the logo to sweep forever after a
load completes.

See merge request !2379
parents f2fab27a d4ffe705
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -21,6 +21,7 @@ start = ->
clearHighlights()
pieceIndex = 0
pieces.reverse() unless pieces[0] == firstPiece
clearInterval(currentTimer) if currentTimer
currentTimer = setInterval(work, delay)
 
stop = ->
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment