mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-04-13 21:44:40 -04:00
Reduce problem alert jiggle duration to 1s
This commit is contained in:
parent
b87cf462fc
commit
6b7e146084
1 changed files with 1 additions and 1 deletions
|
@ -77,7 +77,7 @@ module.exports = class ProblemAlertView extends CocoView
|
|||
Backbone.Mediator.publish 'audio-player:play-sound', trigger: 'error_appear', volume: 1.0
|
||||
pauseJiggle = =>
|
||||
@$el?.removeClass 'jiggling'
|
||||
_.delay pauseJiggle, 2000
|
||||
_.delay pauseJiggle, 1000
|
||||
|
||||
onHideProblemAlert: ->
|
||||
@onRemoveClicked()
|
||||
|
|
Loading…
Add table
Reference in a new issue