mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-01 11:35:55 +01:00
Fix eslint rules (#5117)
* Fix semi linter rule * Fix semi-spacing linter rule * Fix no-undef-init linter rule * Fix space-before-blocks linter rule
This commit is contained in:
committed by
Julian Lam
parent
727710fbd9
commit
e515b791da
@@ -22,7 +22,7 @@ define('autocomplete', function () {
|
||||
|
||||
if (result && result.users) {
|
||||
var names = result.users.map(function (user) {
|
||||
var username = $('<div/>').html(user.username).text()
|
||||
var username = $('<div/>').html(user.username).text();
|
||||
return user && {
|
||||
label: username,
|
||||
value: username,
|
||||
|
||||
Reference in New Issue
Block a user