mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-06 14:05:46 +01:00
chore: eslint function-paren-newline
This commit is contained in:
committed by
Julian Lam
parent
dab3b23575
commit
62869bae3d
@@ -321,10 +321,11 @@ define('forum/topic/threadTools', [
|
||||
var icon = $('.topic-header [component="topic/pinned"]');
|
||||
icon.toggleClass('hidden', !data.pinned);
|
||||
if (data.pinned) {
|
||||
icon.translateAttr('title', data.pinExpiry && data.pinExpiryISO ?
|
||||
'[[topic:pinned-with-expiry, ' + data.pinExpiryISO + ']]' :
|
||||
'[[topic:pinned]]'
|
||||
);
|
||||
icon.translateAttr('title', (
|
||||
data.pinExpiry && data.pinExpiryISO ?
|
||||
'[[topic:pinned-with-expiry, ' + data.pinExpiryISO + ']]' :
|
||||
'[[topic:pinned]]'
|
||||
));
|
||||
}
|
||||
ajaxify.data.pinned = data.pinned;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user