(js) Add hotkey to flag a message

This commit is contained in:
Francis Lachapelle
2016-09-30 12:15:37 -04:00
parent 268b8ea1c3
commit c845d021ea
3 changed files with 9 additions and 2 deletions
@@ -104,6 +104,10 @@
function _registerHotkeys(keys) {
keys.push(sgHotkeys.createHotkey({
key: l('hotkey_flag'),
callback: angular.bind(stateMessage, stateMessage.toggleFlag)
}));
keys.push(sgHotkeys.createHotkey({
key: 'backspace',
callback: function($event) {