summaryrefslogtreecommitdiffstats
path: root/settings
diff options
context:
space:
mode:
authorDeLtAfOx <edo@ravers.it>2014-07-15 13:44:41 +0200
committerDeLtAfOx <edo@ravers.it>2014-07-15 13:44:41 +0200
commitcd97847cd686b5d894cf9c4ab0e21373cd4f6ba1 (patch)
tree7d964b2ae39c6013adcfe7f1d63a56289f51818c /settings
parent26d9993b3ed3e0cfb56c84478e8b4c3f5be459fb (diff)
downloadnextcloud-server-cd97847cd686b5d894cf9c4ab0e21373cd4f6ba1.tar.gz
nextcloud-server-cd97847cd686b5d894cf9c4ab0e21373cd4f6ba1.zip
Strinct comparsion fix
Diffstat (limited to 'settings')
-rw-r--r--settings/js/users/users.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/settings/js/users/users.js b/settings/js/users/users.js
index 7cc9a6ad030..ba228905a8a 100644
--- a/settings/js/users/users.js
+++ b/settings/js/users/users.js
@@ -365,7 +365,7 @@ var UserList = {
var user = UserList.getUID($element);
if ($element.data('user-groups')) {
- if (typeof $element.data('user-groups') == 'string') {
+ if (typeof $element.data('user-groups') === 'string') {
checked = $element.data('user-groups').split(", ");
}
else {
@@ -450,7 +450,7 @@ var UserList = {
var user = UserList.getUID($element);
if ($element.data('subadmin')) {
- if (typeof $element.data('subadmin') == 'string') {
+ if (typeof $element.data('subadmin') === 'string') {
checked = $element.data('subadmin').split(", ");
}
else {