From 70187836e84a9ea9541094331202c8eb24ad10d2 Mon Sep 17 00:00:00 2001 From: Tobias Date: Thu, 5 Sep 2019 19:08:41 +0200 Subject: [PATCH] Update admin.js MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- data/web/js/site/admin.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/web/js/site/admin.js b/data/web/js/site/admin.js index cc8809ba..15e512ce 100644 --- a/data/web/js/site/admin.js +++ b/data/web/js/site/admin.js @@ -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;