Use event.keyCode for consistency
We should either switch everything to event.code or nothing, imho
This commit is contained in:
parent
71c2900216
commit
401e46e599
1 changed files with 1 additions and 1 deletions
|
@ -358,7 +358,7 @@ weechat.directive('inputBar', function() {
|
|||
}
|
||||
|
||||
// Alt-h -> Toggle all as read
|
||||
if ($event.altKey && !$event.ctrlKey && key === "KeyH" ) {
|
||||
if ($event.altKey && !$event.ctrlKey && code === 72) {
|
||||
var buffers = models.getBuffers();
|
||||
_.each(buffers, function(buffer) {
|
||||
buffer.unread = 0;
|
||||
|
|
Loading…
Reference in a new issue