From efccc70eb3d6b19b32772e0f99e42a57df6894ab Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Thu, 30 Jun 2016 09:06:06 +0200 Subject: [PATCH] revert 41b5de825d12c546bc88cae27e9a3cdcf00ff5a2: 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 --- api/js/etemplate/et2_widget_iframe.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/api/js/etemplate/et2_widget_iframe.js b/api/js/etemplate/et2_widget_iframe.js index a6a2bcb1be..45ea7e6479 100644 --- a/api/js/etemplate/et2_widget_iframe.js +++ b/api/js/etemplate/et2_widget_iframe.js @@ -26,7 +26,7 @@ var et2_iframe = (function(){ "use strict"; return et2_valueWidget.extend( ignore: false, name: "Label", translate: true, - type: "string", + type: "string" }, "needed": { "ignore": true @@ -49,7 +49,7 @@ var et2_iframe = (function(){ "use strict"; return et2_valueWidget.extend( "default": false, description: "Make the iframe compatible to be a fullscreen video player mode", type: "boolean" - }, + } }, /** @@ -92,7 +92,6 @@ var et2_iframe = (function(){ "use strict"; return et2_valueWidget.extend( set_seamless: function(_seamless) { this.options.seamless = _seamless; this.htmlNode.attr("seamless", _seamless); - this.htmlNode.attr("scrolling", _seamless ? 'no' : 'auto'); }, set_value: function(_value) {