Enhancement : Add hint to see Keyboard cheatsheet

This commit is contained in:
jdescottes
2014-03-18 01:45:59 +01:00
parent 903f6817cf
commit 1f022fd4a7
4 changed files with 36 additions and 0 deletions

View File

@@ -13,6 +13,10 @@
this.initMarkup_();
pskl.app.shortcutService.addShortcut('shift+?', this.toggleCheatsheet_.bind(this));
pskl.app.shortcutService.addShortcut('?', this.toggleCheatsheet_.bind(this));
var link = $('.cheatsheet-link');
link.click(this.toggleCheatsheet_.bind(this));
$.subscribe(Events.TOGGLE_HELP, this.toggleCheatsheet_.bind(this));
$.subscribe(Events.ESCAPE, this.onEscape_.bind(this));
};