|
@@ -3,6 +3,12 @@ function showStagPopup(_key, _noAutoFocus) {
|
|
/*$('html, body').addClass('no-scroll');
|
|
/*$('html, body').addClass('no-scroll');
|
|
$(window.top.document.body).find('#stag_mcp_lhs').addClass('no-scroll');*/
|
|
$(window.top.document.body).find('#stag_mcp_lhs').addClass('no-scroll');*/
|
|
let stagPopup = $('[stag-popup-key="' + _key + '"]');
|
|
let stagPopup = $('[stag-popup-key="' + _key + '"]');
|
|
|
|
+ if(stagPopup.is('.show')) return false;
|
|
|
|
+ else {
|
|
|
|
+ let zIndex = $('.stag-popup.show[stag-popup-key]').last().css('z-index');
|
|
|
|
+ if(zIndex) zIndex++; else zIndex = 100;
|
|
|
|
+ stagPopup.css('z-index', zIndex);
|
|
|
|
+ }
|
|
stagPopup.addClass('show');
|
|
stagPopup.addClass('show');
|
|
stagPopup.find('[moe][initialized]').removeAttr('initialized');
|
|
stagPopup.find('[moe][initialized]').removeAttr('initialized');
|
|
initMoes();
|
|
initMoes();
|