Disable scrolling in mobile version
This commit is contained in:
parent
8f912625a2
commit
f560e6fd5c
|
@ -716,6 +716,12 @@
|
|||
iframe.allowFullscreen = true;
|
||||
iframe.setAttribute("allowfullscreen",""); // for IE11
|
||||
iframe.setAttribute("onmousewheel",""); // for Safari on Mac
|
||||
|
||||
if (config.type == "mobile")
|
||||
{
|
||||
iframe.style.position = "fixed";
|
||||
iframe.style.overflow = "hidden";
|
||||
}
|
||||
return iframe;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue