Simplify filter and try to make it work with progressive build info

This commit is contained in:
Karl Seguin
2025-10-18 11:18:50 +08:00
parent 0795b7a583
commit 9845392b71
2 changed files with 10 additions and 14 deletions

View File

@@ -212,7 +212,7 @@ pub fn addFromElement(self: *ScriptManager, element: *parser.Element, comptime c
if (source == .@"inline" and self.scripts.first == null) {
// inline script with no pending scripts, execute it immediately.
// (if there is a pending script, then we cannot execute this immediately
// as it needs to best executed in order)
// as it needs to be executed in order)
return script.eval(page);
}