FIX: Make eslint happy.

This commit is contained in:
Guo Xiang Tan 2016-01-20 12:51:54 +08:00
parent c6697e2c14
commit 55352eeb1b
1 changed files with 1 additions and 1 deletions

View File

@ -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 {