chieffancypants / angular-hotkeys

Configuration-centric keyboard shortcuts for your Angular apps.
http://chieffancypants.github.io/angular-hotkeys/
MIT License
1.68k stars 248 forks source link

Cheatsheet dialog missing ("?") question mark #231

Open larsdouweschuitema opened 8 years ago

larsdouweschuitema commented 8 years ago

Question mark ("?") is missing when opening the help dialog using "shift+?". The description ("Show / hide this help menu") is working. The question mark is displayed in the _formated array. Editing the _formated array (e.g.: "?d", "c?", "ccc") using the console will display the _formated key.

HTML:

<tr ng-repeat="hotkey in hotkeys | filter:{ description: '!$$undefined$$' }" class="ng-scope"><td class="cfp-hotkeys-keys"><!-- ngRepeat: key in hotkey.format() track by $index --><!-- ngRepeat: key in hotkey.format() track by $index --><!-- end ngRepeat: key in hotkey.format() track by $index --></td><td class="cfp-hotkeys-text ng-binding">Show / hide this help menu</td></tr>
<tr ng-repeat="hotkey in hotkeys | filter:{ description: '!$$undefined$$' }" class="ng-scope"><td class="cfp-hotkeys-keys"><!-- ngRepeat: key in hotkey.format() track by $index --><span ng-repeat="key in hotkey.format() track by $index" class="cfp-hotkeys-key ng-binding ng-scope">alt + q</span><!-- end ngRepeat: key in hotkey.format() track by $index --></td><td class="cfp-hotkeys-text ng-binding">Expand sidebar chat search</td></tr>