We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a7f19a0 commit e64ff36Copy full SHA for e64ff36
core/src/main/resources/lib/form/link/link.js
@@ -5,7 +5,7 @@ Behaviour.specify("A.post", "link.post", 0, function (element) {
5
element.removeAttribute("data-post-href");
6
}
7
8
- // Use addEventListener instead of onclick to prevent race conditions
+ // Use addEventListener for robust event handling (allows multiple listeners, less prone to overwriting)
9
// Check if we already attached a listener (avoid duplicates)
10
if (element._postLinkHandlerAttached) {
11
return;
0 commit comments