From 04478268f94b43daad0069051e4de717ca8023a4 Mon Sep 17 00:00:00 2001 From: mjkhan21 Date: Wed, 29 May 2024 11:11:48 +0900 Subject: [PATCH] =?UTF-8?q?dialog=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/webapp/resources/js/base/base.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main/webapp/resources/js/base/base.js b/src/main/webapp/resources/js/base/base.js index 0c927dc..e9f7a29 100644 --- a/src/main/webapp/resources/js/base/base.js +++ b/src/main/webapp/resources/js/base/base.js @@ -121,9 +121,8 @@ var dialog = { create:function(conf) { let last = { dlg: $("div.modal.show").last()[0], - exists: () => last.dlg, setZIndex: (obj, offset) => { - if (!last.exists()) return; + if (!last.dlg) return; let zIndex = Number($(last.dlg).css("z-index")); obj.css("z-index", zIndex + offset);