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
......@@ -21,6 +21,7 @@ start = ->
clearHighlights()
pieceIndex = 0
pieces.reverse() unless pieces[0] == firstPiece
clearInterval(currentTimer) if currentTimer
currentTimer = setInterval(work, delay)
stop = ->
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment