mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-04-26 05:53:39 -04:00
Update LevelEditView.coffee
This commit is contained in:
parent
9c0d992868
commit
029b28853f
1 changed files with 2 additions and 2 deletions
|
@ -137,11 +137,11 @@ module.exports = class LevelEditView extends RootView
|
|||
|
||||
showUndoDescription: ->
|
||||
undoDescription = TreemaNode.getLastTreemaWithFocus().getUndoDescription()
|
||||
@$el.find('#undo-button').attr('title', 'Undo ' + undoDescription + ' (Ctrl+Z)')
|
||||
@$el.find('#undo-button').attr('title', $.i18n.t("general.undo_prefix";) + " " + undoDescription + " " + $.i18n.t("general.undo_shortcut"))
|
||||
|
||||
showRedoDescription: ->
|
||||
redoDescription = TreemaNode.getLastTreemaWithFocus().getRedoDescription()
|
||||
@$el.find('#redo-button').attr('title', 'Redo ' + redoDescription + ' (Ctrl+Shift+Z)')
|
||||
@$el.find('#redo-button').attr('title', $.i18n.t("general.redo_prefix";) + " " + redoDescription + " " + $.i18n.t("general.redo_shortcut"))
|
||||
|
||||
getCurrentView: ->
|
||||
currentViewID = @$el.find('.tab-pane.active').attr('id')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue