mirror of
https://github.com/zulip/zulip.git
synced 2025-11-01 12:33:40 +00:00
committed by
Tim Abbott
parent
1f4e1ece3a
commit
2d73e03e37
@@ -105,16 +105,16 @@ exports.open = function (image) {
|
||||
return;
|
||||
}
|
||||
|
||||
function lightbox_close_modal() {
|
||||
function lightbox_close_overlay() {
|
||||
$(".player-container iframe").remove();
|
||||
is_open = false;
|
||||
document.activeElement.blur();
|
||||
}
|
||||
|
||||
modals.open_overlay({
|
||||
overlays.open_overlay({
|
||||
name: 'lightbox',
|
||||
overlay: $("#lightbox_overlay"),
|
||||
on_close: lightbox_close_modal,
|
||||
on_close: lightbox_close_overlay,
|
||||
});
|
||||
|
||||
popovers.hide_all();
|
||||
|
||||
Reference in New Issue
Block a user