using 'invisible' class instead of 'hidden', #2588

v1.18.x
Julian Lam 10 years ago
parent d747ce5760
commit bb0b6d9db4

@ -13,7 +13,7 @@ define('forum/groups/details', function() {
var btnEl = $(this),
userRow = btnEl.parents('tr'),
ownerFlagEl = userRow.find('.member-name i'),
isOwner = !ownerFlagEl.hasClass('hidden') ? true : false,
isOwner = !ownerFlagEl.hasClass('invisible') ? true : false,
uid = userRow.attr('data-uid'),
action = btnEl.attr('data-action');
@ -24,7 +24,7 @@ define('forum/groups/details', function() {
groupName: ajaxify.variables.get('group_name')
}, function(err) {
if (!err) {
ownerFlagEl.toggleClass('hidden');
ownerFlagEl.toggleClass('invisible');
}
});
break;

Loading…
Cancel
Save