diff --git a/js/page-load.js b/js/page-load.js index 6695bca..7644329 100644 --- a/js/page-load.js +++ b/js/page-load.js @@ -133,6 +133,8 @@ function refreshScripts( fragment ) { var script = scripts[i]; var freshScript = document.createElement('script'); copyAttributes( script, freshScript ); + // copy inner script code. #718, #782 + freshScript.innerHTML = script.innerHTML; script.parentNode.replaceChild( freshScript, script ); } } diff --git a/sandbox/page/2.html b/sandbox/page/2.html index b24266e..985b9d1 100644 --- a/sandbox/page/2.html +++ b/sandbox/page/2.html @@ -42,7 +42,9 @@
Draplin-esque collage. Every vector made in 2016. Accepted, rejected, upcoming, or unused.
- +