Merge pull request #1309 from lightpanda-io/zigdom-anchor-click

Anchor Click
This commit is contained in:
Karl Seguin authored and GitHub committed 2026-01-05 12:30:30 +08:00
commit dcde19de3c
1 file changed
-5
-5
View File
@@ -2723,11 +2723,6 @@ pub fn handleClick(self: *Page, target: *Node) !void {
return;
}
if (std.mem.startsWith(u8, href, "#")) {
// Hash-only links (#foo) should be handled as same-document navigation
return;
}
if (std.mem.startsWith(u8, href, "javascript:")) {
return;
}