commit 4cc7e856ba09e3eb5f266e1a59b71559d33177e5
parent 148a8478f9d0e8b3b49fefa2e91419eba95e0654
Author: JayVii <jayvii[AT]posteo[DOT]de>
Date: Sat, 31 Oct 2026 21:41:53 +0100
fix: run javascript directly
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/index.tt b/index.tt
@@ -133,7 +133,7 @@
loading="lazy"
src="assets/fallback.svg"
style="width:100%;height:100%;max-height:250px;object-fit:cover;margin-top:1em;"
- onload="setTimeout(function(){insert_og_image(this, '<?php echo $entry['url']; ?>')}, 0);"
+ onload="insert_og_image(this, '<?php echo $entry['url']; ?>');"
>
<!-- Headline -->
<h4 style="margin-bottom:5px;">