Update admin.js

Fix "→" is not displayed when username is save with uppercase
See bevor:  https://i.tobias.bayern/9XGMoS5g.png
See after change: https://i.tobias.bayern/QvupZ23j.png
master
Tobias 2019-09-05 19:08:41 +02:00 committed by GitHub
parent f87beded34
commit 70187836e8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -280,7 +280,7 @@ jQuery(function($){
});
} else if (table == 'adminstable') {
$.each(data, function (i, item) {
if (admin_username == item.username) {
if (admin_username.toLowerCase() == item.username.toLowerCase()) {
item.usr = '→ ' + item.username;
} else {
item.usr = item.username;