diff options
author | kondou <kondou@ts.unde.re> | 2013-08-01 18:44:01 +0200 |
---|---|---|
committer | kondou <kondou@ts.unde.re> | 2013-08-01 18:44:01 +0200 |
commit | 1348330c7d75d2b60d845a43be57dedc6199ea1a (patch) | |
tree | 87f0ffda7f1b173641fc56500e055ce6abe04336 /settings | |
parent | aaf0fec9f54bc6f9eef5df00441d593e053ee74b (diff) | |
download | nextcloud-server-1348330c7d75d2b60d845a43be57dedc6199ea1a.tar.gz nextcloud-server-1348330c7d75d2b60d845a43be57dedc6199ea1a.zip |
Fix a syntax error & have if-conds in an own line
Diffstat (limited to 'settings')
-rw-r--r-- | settings/js/users.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/settings/js/users.js b/settings/js/users.js index 798acce8471..ac0d7638f72 100644 --- a/settings/js/users.js +++ b/settings/js/users.js @@ -166,7 +166,9 @@ var UserList = { var c = Number(aa[x]), d = Number(bb[x]); if (c === aa[x] && d === bb[x]) { return c - d; - } else { return (aa[x] > bb[x]) ? 1 : -1; } + } else { + return (aa[x] > bb[x]) ? 1 : -1; + } } } return aa.length - bb.length; |