mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-28 01:55:38 -05:00
Fixed wrong migrations
This commit is contained in:
parent
5845125b43
commit
69ee16f77f
3 changed files with 3 additions and 2 deletions
|
@ -88,6 +88,7 @@ module.exports = class ThangTypeHomeView extends View
|
|||
|
||||
removeOldSearch: ->
|
||||
return unless @collection?
|
||||
@collection.off()
|
||||
@collection = null
|
||||
|
||||
makeNewModel: (e) ->
|
||||
|
|
|
@ -49,7 +49,7 @@ module.exports = class PlaybackView extends View
|
|||
super()
|
||||
@hookUpScrubber()
|
||||
@updateMusicButton()
|
||||
@listenTo($(window), 'resize', @onWindowResize)
|
||||
$(window).on('resize', @onWindowResize)
|
||||
|
||||
# callbacks
|
||||
|
||||
|
|
|
@ -82,7 +82,7 @@ module.exports = class PlayLevelView extends View
|
|||
@isEditorPreview = @getQueryVariable 'dev'
|
||||
@sessionID = @getQueryVariable 'session'
|
||||
|
||||
@listenTo($(window), 'resize', @onWindowResize)
|
||||
$(window).on('resize', @onWindowResize)
|
||||
@listenToOnce(@supermodel, 'error', @onLevelLoadError)
|
||||
@saveScreenshot = _.throttle @saveScreenshot, 30000
|
||||
|
||||
|
|
Loading…
Reference in a new issue