From c0af08b994c9497cd8297533a3991f98de76cf6a Mon Sep 17 00:00:00 2001 From: uh_wot <3631986-uh_wot@users.noreply.gitlab.com> Date: Wed, 6 May 2020 10:24:32 +0200 Subject: [PATCH] simplified server-wide ARL --- public/js/app.js | 7 ------- 1 file changed, 7 deletions(-) diff --git a/public/js/app.js b/public/js/app.js index 1ceafbd..7bbb3ec 100644 --- a/public/js/app.js +++ b/public/js/app.js @@ -73,13 +73,6 @@ socket.on('logged_out', function () { $('#settings_picture').attr('src', `https://e-cdns-images.dzcdn.net/images/user/125x125-000000-80-0-0.jpg`) }) -socket.on('init_serverwideARL', function (arl) { - if (localStorage.getItem('arl') === null) { - socket.emit('login', arl) - $('#login_input_arl').val(arl) - } -}) - /* ===== App initialization ===== */ function startApp() { Downloads.init()