LibWeb: Set script force async to false when async changes

This commit is contained in:
Jamie Mansfield
2024-08-04 19:06:07 +01:00
committed by Tim Ledbetter
parent 77c41a82be
commit bedb626c29
3 changed files with 9 additions and 0 deletions

View File

@@ -7,5 +7,9 @@
const script = document.createElement("script");
println(`script.async = ${script.async}`);
script.setAttribute("async", "true");
script.removeAttribute("async");
println(`script.async = ${script.async}`);
});
</script>