diff --git a/static/index.html b/static/index.html index f1cd316..0ba0186 100644 --- a/static/index.html +++ b/static/index.html @@ -47,7 +47,7 @@

- +

Quick Links

@@ -62,7 +62,7 @@ diff --git a/static/js/find-code.js b/static/js/find-code.js index 0c72f74..8d679d2 100644 --- a/static/js/find-code.js +++ b/static/js/find-code.js @@ -19,6 +19,7 @@ async function fetchEntry(){ // This can be condensed } async function parseData(values){ + vibe() if (values.crs != ""){ setLoadingDesc(`Searching\n${values.crs.toUpperCase()}`) var data = await getData("crs", values.crs) diff --git a/static/js/index.js b/static/js/index.js index f33ef90..30f7d05 100644 --- a/static/js/index.js +++ b/static/js/index.js @@ -11,6 +11,7 @@ async function pageInit() { } async function gotoBoard(station){ + vibe() window.location.assign(`${window.location.origin}/board.html?stn=${station}`); } diff --git a/static/js/lib.main.js b/static/js/lib.main.js index 59936af..093cfe8 100644 --- a/static/js/lib.main.js +++ b/static/js/lib.main.js @@ -121,10 +121,10 @@ async function vibe(type) { } switch (type) { case "err": - navigator.vibrate([300,200,300]) + navigator.vibrate([300]) break; case "ok": - navigator.vibrate([50,150,50]) + navigator.vibrate([50,50,50]) break; default: navigator.vibrate(30) diff --git a/static/sw.js b/static/sw.js index a663200..ed436b1 100644 --- a/static/sw.js +++ b/static/sw.js @@ -1,6 +1,6 @@ /* Service Worker */ -const appVersion = "0.0.1-dev-2023013107" +const appVersion = "0.0.1-dev-2023013109" const cacheName = `owlboard-${appVersion}` const cacheIDs = [cacheName] const cacheFiles = [