There was an error while loading. Please reload this page.
1 parent 8ac5f53 commit bb47f58Copy full SHA for bb47f58
1 file changed
docs/welcome/index.html
@@ -518,14 +518,17 @@ <h2>Themes</h2>
518
$('iframe').each(function(){
519
var _this = this;
520
521
- $(this).contents().find('body').append('' +
+ doc = (this.contentWindow || this.documentWindow).document;
522
+ doc.open();
523
+ doc.write('' +
524
'<div class="pace">' +
525
'<div class="pace-progress" data-progress="50%" style="width: 50%;">' +
526
'<div class="pace-progress-inner"></div>' +
527
'</div>' +
528
'<div class="pace-activity"></div>' +
529
- '')
530
+ '');
531
+ doc.close();
532
533
// For some strange reason, the Color library we depend on defines itself
534
// asyncronously
0 commit comments