mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-03-22 10:55:19 -04:00
Merged #152, and slightly improved update interval handling.
This commit is contained in:
parent
21915f358c
commit
a6f1ce53ba
1 changed files with 1 additions and 1 deletions
|
@ -39,6 +39,7 @@ module.exports = class HomeView extends View
|
|||
@createWizard -10, 2, 2.6
|
||||
|
||||
turnOnStageUpdates: ->
|
||||
clearInterval @turnOff
|
||||
@interval = setInterval(@updateStage, 40) unless @interval
|
||||
|
||||
turnOffStageUpdates: ->
|
||||
|
@ -79,4 +80,3 @@ module.exports = class HomeView extends View
|
|||
didReappear: ->
|
||||
super()
|
||||
@turnOnStageUpdates()
|
||||
|
||||
|
|
Loading…
Reference in a new issue