mirror of
https://github.com/discourse/discourse.git
synced 2024-11-26 13:13:39 +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…
Reference in New Issue
Block a user