Skip to content

Commit 836ccd5

Browse files
committed
allow <script type="module"> to be reloaded
1 parent b5bc3c6 commit 836ccd5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

encryptcontent/decrypt-contents.tpl.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -268,6 +268,9 @@ function base64url_decode(input) {
268268
if (script_tag.src) {
269269
new_script_tag.src = script_tag.src;
270270
}
271+
if (script_tag.type) {
272+
new_script_tag.type = script_tag.type;
273+
}
271274
head.appendChild(new_script_tag);
272275
}
273276
} else {

0 commit comments

Comments
 (0)