mirror of
https://github.com/zulip/zulip.git
synced 2025-11-10 00:46:03 +00:00
hotkeys: Add lightbox image feed with controls.
This adds an image feed that you can scroll through with hotkeys in the lightbox. The left and right arrow keys along with the left and right arrows will go to the prev/next image, and clicking on an image will also take a user to that image.
This commit is contained in:
committed by
Tim Abbott
parent
fa5a093738
commit
2775707a67
@@ -21,6 +21,7 @@ var modals = (function () {
|
||||
|
||||
lightbox: function () {
|
||||
$(".player-container iframe").remove();
|
||||
lightbox.is_open = false;
|
||||
document.activeElement.blur();
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user