mirror of
https://github.com/nextcloud/all-in-one.git
synced 2026-06-03 17:30:09 +00:00
Move vars to lets and fix some things with recording.conf
Signed-off-by: Simon L <szaimen@e.mail.de>
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
"use strict";
|
||||
(function (){
|
||||
var lastError;
|
||||
let lastError;
|
||||
|
||||
function showError(message) {
|
||||
const body = document.getElementsByTagName('body')[0]
|
||||
@@ -45,7 +45,7 @@
|
||||
if (lastError) {
|
||||
lastError.remove()
|
||||
}
|
||||
var xhr = new XMLHttpRequest();
|
||||
let xhr = new XMLHttpRequest();
|
||||
xhr.addEventListener('load', handleEvent);
|
||||
xhr.addEventListener('error', () => showError("Failed to talk to server."));
|
||||
xhr.addEventListener('error', () => disableSpinner());
|
||||
|
||||
Reference in New Issue
Block a user