Hide iframe scrollbars too when seamless is on, hides scrollbars in Admin - Global categories

This commit is contained in:
nathangray 2016-06-27 10:52:57 -06:00
parent 29d34bcc6c
commit 41b5de825d

View File

@ -92,6 +92,7 @@ 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) {