mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-27 02:05:07 +02:00
LibWeb: Set script force async to false when async changes
This commit is contained in:
committed by
Tim Ledbetter
parent
77c41a82be
commit
bedb626c29
Notes:
github-actions[bot]
2024-08-04 18:26:23 +00:00
Author: https://github.com/jamierocks Commit: https://github.com/LadybirdBrowser/ladybird/commit/bedb626c299 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/961 Reviewed-by: https://github.com/tcl3 ✅
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user