mirror of
https://github.com/discourse/discourse.git
synced 2024-11-27 11:20:57 -06:00
FIX: Make eslint happy.
This commit is contained in:
parent
c6697e2c14
commit
55352eeb1b
@ -3,7 +3,7 @@ import DiscourseURL from 'discourse/lib/url';
|
||||
export function isValidLink($link) {
|
||||
return ($link.hasClass("track-link") ||
|
||||
($link.closest('.onebox-result,.onebox-body').length === 0 &&
|
||||
$link.has('.badge-category').length === 0))
|
||||
$link.has('.badge-category').length === 0));
|
||||
};
|
||||
|
||||
export default {
|
||||
|
Loading…
Reference in New Issue
Block a user