Skip to content

Commit

Permalink
Hide iframe scrollbars too when seamless is on, hides scrollbars in A…
Browse files Browse the repository at this point in the history
…dmin - Global categories
  • Loading branch information
nathangray authored and ralfbecker committed Jun 28, 2016
1 parent 420350e commit 9422fd1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions api/js/etemplate/et2_widget_iframe.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ 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) {
Expand Down

0 comments on commit 9422fd1

Please sign in to comment.