dialog 수정

dev
mjkhan21 6 months ago
parent f3e950d7e6
commit 04478268f9

@ -121,9 +121,8 @@ var dialog = {
create:function(conf) { create:function(conf) {
let last = { let last = {
dlg: $("div.modal.show").last()[0], dlg: $("div.modal.show").last()[0],
exists: () => last.dlg,
setZIndex: (obj, offset) => { setZIndex: (obj, offset) => {
if (!last.exists()) return; if (!last.dlg) return;
let zIndex = Number($(last.dlg).css("z-index")); let zIndex = Number($(last.dlg).css("z-index"));
obj.css("z-index", zIndex + offset); obj.css("z-index", zIndex + offset);

Loading…
Cancel
Save