0
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2026-08-07 13:19:19 +08:00
discourse/frontend
David Taylor 2b9d19ab48
DEV: Drop JQuery from discourse-topic and modernize click-track (#41468)
click-track was relying on `e.currentTarget`, which may not be the
actual link in a vanilla-js event. It worked in JQuery because listeners
could be set with filters like `"a"`, and `currentTarget` would be set
accordingly. But in vanilla JS, `currentTarget` is the wrapper element
with the event-listener attached.

Instead, we can use `event.target.closest("a")` to find the actual link
element.
2026-07-07 16:59:29 +01:00
..
asset-processor FIX: Stop asset-processor build from loading tsconfig (#41415) 2026-07-03 10:30:13 +01:00
deprecation-silencer
discourse DEV: Drop JQuery from discourse-topic and modernize click-track (#41468) 2026-07-07 16:59:29 +01:00
discourse-i18n FIX: Don't treat empty translations as missing for locale fallback (#41299) 2026-06-30 16:56:04 -04:00
discourse-markdown-it DEV: Bump eslint/lint-configs, and correct violations (#41321) 2026-07-01 10:39:57 +01:00
discourse-types
pretty-text
.npmrc
polyfills.js