mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-30 19:06:59 -05:00
Remove ProblemAlertView help button
This commit is contained in:
parent
aee2f7c219
commit
5d9d5c0ae6
3 changed files with 0 additions and 9 deletions
|
@ -64,9 +64,6 @@
|
|||
&.alert-info
|
||||
border-image-source: url(/images/level/code_editor_info_background.png)
|
||||
|
||||
#problem-alert-help-button
|
||||
float: right
|
||||
|
||||
html.no-borderimage
|
||||
.problem-alert
|
||||
border-width: 0
|
||||
|
|
|
@ -6,4 +6,3 @@ if hint
|
|||
span.problem-subtitle!= message
|
||||
else
|
||||
span.problem-title!= message
|
||||
button.btn.btn-lg.btn-info.banner#problem-alert-help-button(data-i18n="common.help")
|
||||
|
|
|
@ -18,7 +18,6 @@ module.exports = class ProblemAlertView extends CocoView
|
|||
|
||||
events:
|
||||
'click .close': 'onRemoveClicked'
|
||||
'click #problem-alert-help-button': 'onClickProblemAlertHelp'
|
||||
|
||||
constructor: (options) ->
|
||||
super options
|
||||
|
@ -89,10 +88,6 @@ module.exports = class ProblemAlertView extends CocoView
|
|||
return unless @$el.is(':visible')
|
||||
@onRemoveClicked()
|
||||
|
||||
onClickProblemAlertHelp: ->
|
||||
application.tracker?.trackEvent 'Problem alert help clicked', {levelID: @level.get('slug'), ls: @session?.get('_id')}
|
||||
@openModalView new GameMenuModal showTab: 'guide', level: @level, session: @session, supermodel: @supermodel
|
||||
|
||||
onRemoveClicked: ->
|
||||
@playSound 'menu-button-click'
|
||||
@$el.hide()
|
||||
|
|
Loading…
Reference in a new issue