simplified server-wide ARL

This commit is contained in:
uh_wot 2020-05-06 10:24:32 +02:00
parent 53878a440a
commit c0af08b994

View File

@ -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`) $('#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 ===== */ /* ===== App initialization ===== */
function startApp() { function startApp() {
Downloads.init() Downloads.init()