mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-03 04:25:55 +01:00
ESlint object-curly-spacing
This commit is contained in:
@@ -38,7 +38,7 @@ define('forum/topic/postTools', [
|
||||
var pid = postEl.attr('data-pid');
|
||||
var index = parseInt(postEl.attr('data-index'), 10);
|
||||
|
||||
socket.emit('posts.loadPostTools', {pid: pid, cid: ajaxify.data.cid}, function (err, data) {
|
||||
socket.emit('posts.loadPostTools', { pid: pid, cid: ajaxify.data.cid }, function (err, data) {
|
||||
if (err) {
|
||||
return app.alertError(err.message);
|
||||
}
|
||||
@@ -286,7 +286,7 @@ define('forum/topic/postTools', [
|
||||
username = getUserName($(content));
|
||||
range.detach();
|
||||
}
|
||||
return {text: selectedText, pid: selectedPid, username: username};
|
||||
return { text: selectedText, pid: selectedPid, username: username };
|
||||
}
|
||||
|
||||
function bookmarkPost(button, pid) {
|
||||
|
||||
Reference in New Issue
Block a user