mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-03-14 07:00:01 -04:00
A bit more CoffeeScript-y.
This commit is contained in:
parent
e2414f7c5a
commit
3a954ff91c
1 changed files with 1 additions and 1 deletions
|
@ -175,7 +175,7 @@ module.exports = class HUDView extends View
|
|||
response.button = $('button:last', group)
|
||||
else
|
||||
s = $.i18n.t('play_level.hud_continue', defaultValue: "Continue (press shift-space)")
|
||||
if @shiftSpacePressed > 4 && !@escapePressed
|
||||
if @shiftSpacePressed > 4 and not @escapePressed
|
||||
group.append('<span class="hud-hint">Press esc to skip dialog</span>')
|
||||
group.append($('<button class="btn btn-small banner with-dot">' + s + ' <div class="dot"></div></button>'))
|
||||
@lastResponses = null
|
||||
|
|
Loading…
Reference in a new issue