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