mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-02-17 17:02:18 -05:00
Merge branch 'master' into production
This commit is contained in:
commit
6f7faced23
2 changed files with 5 additions and 2 deletions
|
@ -365,3 +365,6 @@ html.no-borderimage
|
|||
&.disabled, &:disabled
|
||||
background-image: url(/images/common/button-background-disabled.png)
|
||||
|
||||
|
||||
body > iframe[src^="https://apis.google.com"]
|
||||
display: none
|
||||
|
|
|
@ -133,7 +133,7 @@ module.exports = class LevelPlaybackView extends CocoView
|
|||
@lastLoadedFrameCount = loadedFrameCount
|
||||
|
||||
onDisableControls: (e) ->
|
||||
if not e.controls or 'playback' in e.controls
|
||||
if not e.controls or ('playback' in e.controls)
|
||||
@disabled = true
|
||||
$('button', @$el).addClass('disabled')
|
||||
try
|
||||
|
@ -146,7 +146,7 @@ module.exports = class LevelPlaybackView extends CocoView
|
|||
|
||||
onEnableControls: (e) ->
|
||||
return if @realTime
|
||||
if not e.controls or 'playback' in e.controls
|
||||
if not e.controls or ('playback' in e.controls)
|
||||
@disabled = false
|
||||
$('button', @$el).removeClass('disabled')
|
||||
try
|
||||
|
|
Loading…
Reference in a new issue