Use attr instead of data to prevent a type convertion fix #287

remotes/origin/stable45
Brice Maron 2012-11-06 20:32:24 +07:00
parent dbbbfd4b2b
commit 50d5ca71d0
1 changed files with 1 additions and 1 deletions

@ -113,7 +113,7 @@ var UserList={
if (sort) {
username = username.toLowerCase();
$('tbody tr').each(function() {
if (username < $(this).data('uid').toLowerCase()) {
if (username < $(this).attr('data-uid').toLowerCase()) {
$(tr).insertBefore($(this));
added = true;
return false;