Sfoglia il codice sorgente

#2017 Issue with full screen popup on mobile device.

RomanL 7 anni fa
parent
commit
b30aaeffab
2 ha cambiato i file con 0 aggiunte e 8 eliminazioni
  1. 0 2
      inc/js/jquery.dolPopup.js
  2. 0 6
      template/css/media-phone.css

+ 0 - 2
inc/js/jquery.dolPopup.js

@@ -219,7 +219,6 @@
                 }
                 }
 
 
                 // show popup
                 // show popup
-                $('body').addClass('bx-popup-visible');
 
 
                 $el.css({display: 'block', visibility: 'visible'});
                 $el.css({display: 'block', visibility: 'visible'});
                 if (o.fog) {
                 if (o.fog) {
@@ -326,7 +325,6 @@
             	eval(o.onBeforeHide);
             	eval(o.onBeforeHide);
 
 
             $el.removeClass('bx-popup-active').addClass('bx-popup-inactive');
             $el.removeClass('bx-popup-active').addClass('bx-popup-inactive');
-            $('body').removeClass('bx-popup-visible');
 
 
             var onHide = null;
             var onHide = null;
             if(typeof(o.onHide) == 'function')
             if(typeof(o.onHide) == 'function')

+ 0 - 6
template/css/media-phone.css

@@ -56,12 +56,6 @@ html.bx-media-phone {
 
 
 /* common.css */
 /* common.css */
 
 
-/* make popup fullscreen */
-.bx-media-phone body.bx-popup-visible {
-    height: 100vh;
-    overflow: hidden;
-}
-
 .bx-media-phone .bx-popup-responsive.bx-popup-trans-wrapper:not(.bx-popup-image-wrapper),
 .bx-media-phone .bx-popup-responsive.bx-popup-trans-wrapper:not(.bx-popup-image-wrapper),
 .bx-media-phone .bx-popup-responsive:not(.bx-popup-image-wrapper) .bx-popup-trans,
 .bx-media-phone .bx-popup-responsive:not(.bx-popup-image-wrapper) .bx-popup-trans,
 .bx-media-phone .bx-popup-responsive:not(.bx-popup-image-wrapper):not(.bx-popup-chain).bx-popup-applied,
 .bx-media-phone .bx-popup-responsive:not(.bx-popup-image-wrapper):not(.bx-popup-chain).bx-popup-applied,