ui-refactor: Rename modals.js to overlays.js.

Fixed #4702.
This commit is contained in:
Rohitt Vashishtha
2017-05-27 19:10:54 +05:30
committed by Tim Abbott
parent 1f4e1ece3a
commit 2d73e03e37
21 changed files with 87 additions and 87 deletions

View File

@@ -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();