Loading template/app/view/examples/TouchContainer.js +2 −2 Original line number Diff line number Diff line Loading @@ -82,7 +82,7 @@ Ext.define('Docs.view.examples.TouchContainer', { // Scale down the example when in tablet mode updateScale: function() { var iframe = Ext.query('iframe', this.el.dom)[0]; iframe.onload = function() { iframe.onload = Ext.Function.bind(function() { var style = document.createElement("style"); var styleContent = "html { overflow: hidden }"; Loading @@ -92,7 +92,7 @@ Ext.define('Docs.view.examples.TouchContainer', { } style.innerHTML = styleContent; iframe.contentWindow.document.body.appendChild(style); }; }, this); }, updateTitle: function() { Loading Loading
template/app/view/examples/TouchContainer.js +2 −2 Original line number Diff line number Diff line Loading @@ -82,7 +82,7 @@ Ext.define('Docs.view.examples.TouchContainer', { // Scale down the example when in tablet mode updateScale: function() { var iframe = Ext.query('iframe', this.el.dom)[0]; iframe.onload = function() { iframe.onload = Ext.Function.bind(function() { var style = document.createElement("style"); var styleContent = "html { overflow: hidden }"; Loading @@ -92,7 +92,7 @@ Ext.define('Docs.view.examples.TouchContainer', { } style.innerHTML = styleContent; iframe.contentWindow.document.body.appendChild(style); }; }, this); }, updateTitle: function() { Loading