Skip to content

Commit 5be2d57

Browse files
committed
Moved inline scripts to the end of page
1 parent 2a23cb6 commit 5be2d57

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

htmlpreview.js

+3
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,9 @@ var HTMLPreview = {
5656
HTMLPreview.send(src, 'loadJS'); //Then load it using YQL
5757
}
5858
}
59+
else {
60+
document.body.appendChild(script[i]);
61+
}
5962
}
6063
},
6164

htmlpreview.min.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)