Skip to content

Commit

Permalink
Copy from dist
Browse files Browse the repository at this point in the history
  • Loading branch information
gorisanson committed May 18, 2024
1 parent ac29002 commit e3ed68b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -469,6 +469,8 @@ <h1>Play Quoridor against AI</h1>
"use strict";
// For some touch device, @media (hover: hover) is activated
// (it is intended not to be activated), so add this workaround.
// Code below is based on:
// https://codeburst.io/the-only-way-to-detect-touch-with-javascript-7791a3346685
window.addEventListener('touchstart', function onFirstTouch() {
controller.view.isHoverPossible = false;
controller.view.button.confirm.style.display = "inline-block";
Expand Down
2 changes: 1 addition & 1 deletion sw.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* https://developers.google.com/web/fundamentals/primers/service-workers/
*/

const CACHE_NAME = 'quoridor-ai-cache-v0.3.19';
const CACHE_NAME = 'quoridor-ai-cache-v0.3.20';
const urlsToCache = [
'./',
'./style.css',
Expand Down

0 comments on commit e3ed68b

Please sign in to comment.