diff --git a/client_src/js/Tour.mjs b/client_src/js/Tour.mjs index 9a944eb..5ec8efa 100644 --- a/client_src/js/Tour.mjs +++ b/client_src/js/Tour.mjs @@ -126,7 +126,7 @@ class Tour { } run_once() { - if(!window.localStorage.has("completed_tour")) + if(window.localStorage.getItem("completed_tour") === null) this.run(); window.localStorage.setItem("completed_tour", (new Date()).toISOString()); diff --git a/client_src/js/UI.mjs b/client_src/js/UI.mjs index b0373ca..799ded2 100644 --- a/client_src/js/UI.mjs +++ b/client_src/js/UI.mjs @@ -77,7 +77,7 @@ class UI { await show_changelog(true); - await this.tour.run(); + await this.tour.run_once(); } }