Strinct comparsion fix

This commit is contained in:
DeLtAfOx 2014-07-15 13:44:41 +02:00
parent 26d9993b3e
commit cd97847cd6
1 changed files with 2 additions and 2 deletions

View File

@ -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 {