Skip to content

Commit

Permalink
hotkeys: Make 'v' hotkey toggle.
Browse files Browse the repository at this point in the history
  • Loading branch information
lonerz authored and timabbott committed Sep 14, 2017
1 parent 42b0591 commit 0fd9f0b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions static/js/hotkey.js
Original file line number Diff line number Diff line change
Expand Up @@ -440,6 +440,10 @@ exports.process_hotkey = function (e, hotkey) {
subs.keyboard_sub();
return true;
}
if (overlays.lightbox_open()) {
overlays.close_active();
return true;
}
return false;
}

Expand Down

0 comments on commit 0fd9f0b

Please sign in to comment.