From 6a445679f7570e933348471efe4a3b2d292d6118 Mon Sep 17 00:00:00 2001 From: ION606 Date: Fri, 12 Aug 2022 10:33:19 -0700 Subject: [PATCH] Fixed a typo --- calendar.html | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/calendar.html b/calendar.html index 6760adb..6cf2267 100644 --- a/calendar.html +++ b/calendar.html @@ -277,7 +277,7 @@ async function openNewCalWindow(evjs, day) { const ev = JSON.parse(evjs); - await new Promise((res, rej) => { res(window.open('http://www.selmerbot/calEvent.html','popUpWindow','loaction=no,width=600,height=300,resizable=yes,scrollbars=yes,toolbar=yes,menubar=no,location=no,directories=no,status=yes')); }) + await new Promise((res, rej) => { res(window.open('http://www.selmerbot.com/calEvent.html','popUpWindow','loaction=no,width=600,height=300,resizable=yes,scrollbars=yes,toolbar=yes,menubar=no,location=no,directories=no,status=yes')); }) .then((w) => { if (!w) { w.close(); return alert("Your browser has JavaScript Disabled!"); } @@ -291,7 +291,7 @@ async function createCalEvent(day) { - await new Promise((res, rej) => { res(window.open('http://www.selmerbot/newCalEvent.html','popUpWindow','loaction=no,width=400,height=350,resizable=yes,scrollbars=yes,toolbar=yes,menubar=no,location=no,directories=no,status=yes')); }) + await new Promise((res, rej) => { res(window.open('http://www.selmerbot.com/newCalEvent.html','popUpWindow','loaction=no,width=400,height=350,resizable=yes,scrollbars=yes,toolbar=yes,menubar=no,location=no,directories=no,status=yes')); }) .then((w) => { if (!w) { w.close(); return alert("Your browser has JavaScript Disabled!"); } @@ -390,7 +390,7 @@ const id = window.localStorage.getItem('Id').toString(); var xhr2 = new XMLHttpRequest(); - xhr2.open('get', 'http://www.selmerbot/getCal/', true); + xhr2.open('get', 'http://www.selmerbot.com/getCal/', true); xhr2.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded; charset=UTF-8'); //Use the guild Id as the userId @@ -469,7 +469,6 @@

-