Commit 9f183371 authored by Rene Saarsoo's avatar Rene Saarsoo
Browse files

Hide example iframe border in IE8.

parent 2772550d
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -75,8 +75,9 @@ Ext.define('Docs.view.examples.InlinePreview', {
            }).toHtml();
        }
        else {
            // frameBorder=0 is needed to hide the border in IE8
            var tpl = new Ext.XTemplate(
                '<iframe id="{id}" style="width: 100%; height: 100%; border: 0"></iframe>'
                '<iframe id="{id}" style="width: 100%; height: 100%; border: 0" frameBorder="0"></iframe>'
            );
            return tpl.apply({
                id: this.iframeId