Admin/Groups: Pass radix argument to parseInt

v1.18.x
Micheil Smith 11 years ago
parent 3e82cab398
commit 9dc0a4b115

@ -146,12 +146,12 @@ define(function() {
searchResults.on('click', 'li[data-uid]', function() {
var userLabel = $(this),
uid = parseInt(userLabel.attr('data-uid')),
uid = parseInt(userLabel.attr('data-uid'), 10),
groupName = detailsModal.attr('data-groupname'),
members = [];
groupMembersEl.find('li[data-uid]').each(function() {
members.push(parseInt($(this).attr('data-uid')));
members.push(parseInt($(this).attr('data-uid'), 10));
});
if (members.indexOf(uid) === -1) {

Loading…
Cancel
Save