mirror of
https://github.com/discourse/discourse.git
synced 2025-03-21 12:45:33 +08:00
FIX: Revert tracking links in quotes
This commit is contained in:
parent
aef35faefc
commit
629ae7a5b7
@ -18,8 +18,8 @@ export function isValidLink($link) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// Do not track links in elided part
|
||||
if ($link.parents(".elided").length !== 0) {
|
||||
// Do not track links in quotes or in elided part
|
||||
if ($link.parents("aside.quote, .elided").length !== 0) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user