revert 41b5de825d: disable scrolling too, when in seamless mode, as it prevents iframe content from being scrolled to the bottom, if that content does not implement any other means of scrolling

This commit is contained in:
Ralf Becker 2016-06-30 09:06:06 +02:00
parent ab7b4d40f9
commit c4822483d3

View File

@ -26,7 +26,7 @@ var et2_iframe = (function(){ "use strict"; return et2_valueWidget.extend(
ignore: false, ignore: false,
name: "Label", name: "Label",
translate: true, translate: true,
type: "string", type: "string"
}, },
"needed": { "needed": {
"ignore": true "ignore": true
@ -49,7 +49,7 @@ var et2_iframe = (function(){ "use strict"; return et2_valueWidget.extend(
"default": false, "default": false,
description: "Make the iframe compatible to be a fullscreen video player mode", description: "Make the iframe compatible to be a fullscreen video player mode",
type: "boolean" type: "boolean"
}, }
}, },
/** /**
@ -92,7 +92,6 @@ var et2_iframe = (function(){ "use strict"; return et2_valueWidget.extend(
set_seamless: function(_seamless) { set_seamless: function(_seamless) {
this.options.seamless = _seamless; this.options.seamless = _seamless;
this.htmlNode.attr("seamless", _seamless); this.htmlNode.attr("seamless", _seamless);
this.htmlNode.attr("scrolling", _seamless ? 'no' : 'auto');
}, },
set_value: function(_value) { set_value: function(_value) {