Skip to content

Commit e64ff36

Browse files
committed
mend
1 parent a7f19a0 commit e64ff36

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/main/resources/lib/form/link/link.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Behaviour.specify("A.post", "link.post", 0, function (element) {
55
element.removeAttribute("data-post-href");
66
}
77

8-
// Use addEventListener instead of onclick to prevent race conditions
8+
// Use addEventListener for robust event handling (allows multiple listeners, less prone to overwriting)
99
// Check if we already attached a listener (avoid duplicates)
1010
if (element._postLinkHandlerAttached) {
1111
return;

0 commit comments

Comments
 (0)