fix for modal appearing off-screen
This commit is contained in:
@@ -36,7 +36,10 @@ define(["domReady", "jquery", "jquery.ui", "underscore", "gettext", "js/views/fe
|
||||
};
|
||||
|
||||
|
||||
var closeModalNew = function () {
|
||||
var closeModalNew = function (e) {
|
||||
if (e) {
|
||||
e.preventDefault();
|
||||
};
|
||||
$('body').removeClass('modal-window-is-shown');
|
||||
$('.edit-section-publish-settings').removeClass('is-shown');
|
||||
};
|
||||
|
||||
@@ -517,7 +517,7 @@
|
||||
visibility: hidden;
|
||||
pointer-events: none;
|
||||
display: none;
|
||||
position: absolute;
|
||||
position: fixed;
|
||||
top: 0;
|
||||
overflow: scroll;
|
||||
background: $black-t2;
|
||||
|
||||
Reference in New Issue
Block a user