Skip to content

Commit

Permalink
fix sw
Browse files Browse the repository at this point in the history
  • Loading branch information
roman-markin committed Jun 23, 2024
1 parent 54c45a8 commit 301d2c9
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 58 deletions.
5 changes: 0 additions & 5 deletions src/js/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,3 @@ window.addEventListener("beforeinstallprompt", (e) => {
});
});
});

// window.addEventListener("load", function () {
// var preloader = document.getElementById("preloader");
// preloader.style.display = "none";
// });
4 changes: 2 additions & 2 deletions src/js/sw.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ self.addEventListener('install', (e) => {
cache.addAll([
'/',
'/index.html',
'/index.js',
'/style.css',
'/src/js/index.js',
'/src/css/app.css',
])
)
);
Expand Down
51 changes: 0 additions & 51 deletions src/js/vocabulary.js

This file was deleted.

0 comments on commit 301d2c9

Please sign in to comment.