diff --git a/CNAME b/CNAME deleted file mode 100644 index c4a528e6..00000000 --- a/CNAME +++ /dev/null @@ -1 +0,0 @@ -whatislove.dev \ No newline at end of file diff --git a/Makefile b/Makefile index d9fdfecd..173d583e 100644 --- a/Makefile +++ b/Makefile @@ -4,6 +4,7 @@ clean: rm -rf build # Start + start: npx concurrently -k -p "{name}: {time}" -n "CLIENT,SERVER" -c "green,blue" "make start_client" "make start_server" start_client: diff --git a/source/scripts/pages/main/main.js b/source/scripts/pages/main/main.js index a1832031..41a7cdb6 100644 --- a/source/scripts/pages/main/main.js +++ b/source/scripts/pages/main/main.js @@ -111,20 +111,20 @@ class Main { this.#toastNode = /** @type {HTMLElement | undefined} */ ( document.querySelector(`.toast`) ?? undefined ) - this.#settingListNode = /** @type {HTMLElement} */ ( + this.#settingListNode = /** @type {HTMLElement | undefined} */ ( document.querySelector(`.settings`) ?? undefined ) - this.#headerNode = /** @type {HTMLElement} */ ( - document.querySelector(`.header`) + this.#headerNode = /** @type {HTMLElement | undefined} */ ( + document.querySelector(`.header`) ?? undefined ) - this.#timelineNode = /** @type {HTMLElement} */ ( - document.querySelector(`.timeline`) + this.#timelineNode = /** @type {HTMLElement | undefined} */ ( + document.querySelector(`.timeline`) ?? undefined ) - this.#easterEggNode = /** @type {HTMLElement} */ ( - document.querySelector(`.not-easter-egg`) + this.#easterEggNode = /** @type {HTMLElement | undefined} */ ( + document.querySelector(`.not-easter-egg`) ?? undefined ) - this.#timelineFormNode = /** @type {HTMLFormElement} */ ( - document.querySelector(`form[name="timeline"]`) + this.#timelineFormNode = /** @type {HTMLFormElement | undefined} */ ( + document.querySelector(`form[name="timeline"]`) ?? undefined ) if (this.#toastNode) {