Skip to content

Commit

Permalink
disable service worker #5
Browse files Browse the repository at this point in the history
  • Loading branch information
michivonah committed Jan 8, 2023
1 parent 846d670 commit c6765f7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,9 @@ <h2>Copyright</h2>
// show current tool
changeTool();
// install service worker
if('serviceWorker' in navigator) navigator.serviceWorker.register('/service-worker.js?v=1-0-2');
//if('serviceWorker' in navigator) navigator.serviceWorker.register('/service-worker.js?v=1-0-2');
// disable service worker
if('serviceWorker' in navigator) navigator.serviceWorker.unregister();
// add eventlistener for smartphone navigation
var navButtons = document.querySelectorAll('.toolCategoryLabel');
navButtons.forEach(obj => obj.addEventListener("click", toggleNavigation));
Expand Down

0 comments on commit c6765f7

Please sign in to comment.