dialog 수정

main
mjkhan21 6 months ago
parent d7d00895b0
commit ff4b8f66e1

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

Loading…
Cancel
Save