mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-24 16:17:57 -05:00
Update LevelEditView.coffee
This commit is contained in:
parent
45b553fbcb
commit
19756b3be2
1 changed files with 2 additions and 2 deletions
|
@ -137,11 +137,11 @@ module.exports = class LevelEditView extends RootView
|
||||||
|
|
||||||
showUndoDescription: ->
|
showUndoDescription: ->
|
||||||
undoDescription = TreemaNode.getLastTreemaWithFocus().getUndoDescription()
|
undoDescription = TreemaNode.getLastTreemaWithFocus().getUndoDescription()
|
||||||
@$el.find('#undo-button').attr('title', $.i18n.t("general.undo_prefix";) + " " + undoDescription + " " + $.i18n.t("general.undo_shortcut"))
|
@$el.find('#undo-button').attr('title', $.i18n.t("general.undo_prefix") + " " + undoDescription + " " + $.i18n.t("general.undo_shortcut"))
|
||||||
|
|
||||||
showRedoDescription: ->
|
showRedoDescription: ->
|
||||||
redoDescription = TreemaNode.getLastTreemaWithFocus().getRedoDescription()
|
redoDescription = TreemaNode.getLastTreemaWithFocus().getRedoDescription()
|
||||||
@$el.find('#redo-button').attr('title', $.i18n.t("general.redo_prefix";) + " " + redoDescription + " " + $.i18n.t("general.redo_shortcut"))
|
@$el.find('#redo-button').attr('title', $.i18n.t("general.redo_prefix") + " " + redoDescription + " " + $.i18n.t("general.redo_shortcut"))
|
||||||
|
|
||||||
getCurrentView: ->
|
getCurrentView: ->
|
||||||
currentViewID = @$el.find('.tab-pane.active').attr('id')
|
currentViewID = @$el.find('.tab-pane.active').attr('id')
|
||||||
|
|
Loading…
Reference in a new issue