FIX: Make eslint happy.

This commit is contained in:
Guo Xiang Tan 2016-01-20 12:51:54 +08:00
parent c6697e2c14
commit 55352eeb1b

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 {