diff --git a/README.md b/README.md
index 4a6bb4d..307cd0a 100644
--- a/README.md
+++ b/README.md
@@ -1,7 +1,7 @@
diff --git a/resource/static/main.js b/resource/static/main.js
index f36bb93..82ad95b 100644
--- a/resource/static/main.js
+++ b/resource/static/main.js
@@ -201,8 +201,8 @@ function addOrEditMonitor(monitor) {
}
var servers;
if (monitor) {
- servers = monitor.SkipServersRaw || "[]";
- const serverList = JSON.parse(servers);
+ servers = monitor.SkipServersRaw;
+ const serverList = JSON.parse(servers || "[]");
const node = modal.find("i.dropdown.icon");
for (let i = 0; i < serverList.length; i++) {
node.after(
@@ -237,7 +237,7 @@ function addOrEditCron(cron) {
var servers;
if (cron) {
servers = cron.ServersRaw;
- const serverList = JSON.parse(servers);
+ const serverList = JSON.parse(servers || "[]");
const node = modal.find("i.dropdown.icon");
for (let i = 0; i < serverList.length; i++) {
node.after(
diff --git a/resource/template/common/footer.html b/resource/template/common/footer.html
index afbd9b0..52824af 100644
--- a/resource/template/common/footer.html
+++ b/resource/template/common/footer.html
@@ -9,7 +9,7 @@
-
+