mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-04-26 14:03:28 -04:00
Fixed #2581: triggering window resize event when loading view unveils, in case window was resized before then and messed up our initial spell view height.
This commit is contained in:
parent
d4068cc879
commit
485718b6e3
1 changed files with 1 additions and 0 deletions
|
@ -352,6 +352,7 @@ module.exports = class PlayLevelView extends RootView
|
|||
@realTimeMultiplayerContinueGame @options.realTimeMultiplayerSessionID
|
||||
# TODO: Is it possible to create a Mongoose ObjectId for 'ls', instead of the string returned from get()?
|
||||
application.tracker?.trackEvent 'Started Level', category:'Play Level', levelID: @levelID, ls: @session?.get('_id') unless @observing
|
||||
$(window).trigger 'resize'
|
||||
|
||||
playAmbientSound: ->
|
||||
return if @destroyed
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue