mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-13 20:41:53 +00:00
LibWeb: Set script force async to false when async changes
This commit is contained in:
parent
77c41a82be
commit
bedb626c29
Notes:
github-actions[bot]
2024-08-04 18:26:23 +00:00
Author: https://github.com/jamierocks
Commit: bedb626c29
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/961
Reviewed-by: https://github.com/tcl3 ✅
3 changed files with 9 additions and 0 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue