Skip to content

Commit

Permalink
basket count fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
olgazh565 committed Oct 23, 2023
1 parent 36210d6 commit a38c961
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
Binary file removed dist/img/photo.jpg
Binary file not shown.
4 changes: 2 additions & 2 deletions dist/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Мебельный маркет Koff</title>

<script type="module" crossorigin src="/assets/index-a30a51b7.js"></script>
<script type="module" crossorigin src="/assets/index-1af5f2f7.js"></script>
<link rel="stylesheet" href="/assets/index-ce13b653.css">
<script type="module">import.meta.url;import("_").catch(()=>1);async function* g(){};if(location.protocol!="file:"){window.__vite_is_modern_browser=true}</script>
<script type="module">!function(){if(window.__vite_is_modern_browser)return;console.warn("vite: loading legacy chunks, syntax error above and the same error below should be ignored");var e=document.getElementById("vite-legacy-polyfill"),n=document.createElement("script");n.src=e.src,n.onload=function(){System.import(document.getElementById('vite-legacy-entry').getAttribute('data-src'))},document.body.appendChild(n)}();</script>
Expand All @@ -18,6 +18,6 @@

<script nomodule>!function(){var e=document,t=e.createElement("script");if(!("noModule"in t)&&"onbeforeload"in t){var n=!1;e.addEventListener("beforeload",(function(e){if(e.target===t)n=!0;else if(!e.target.hasAttribute("nomodule")||!n)return;e.preventDefault()}),!0),t.type="module",t.src=".",e.head.appendChild(t),t.remove()}}();</script>
<script nomodule crossorigin id="vite-legacy-polyfill" src="/assets/polyfills-legacy-d2ea4ff5.js"></script>
<script nomodule crossorigin id="vite-legacy-entry" data-src="/assets/index-legacy-4eb6cc90.js">System.import(document.getElementById('vite-legacy-entry').getAttribute('data-src'))</script>
<script nomodule crossorigin id="vite-legacy-entry" data-src="/assets/index-legacy-a91a8fe4.js">System.import(document.getElementById('vite-legacy-entry').getAttribute('data-src'))</script>
</body>
</html>
2 changes: 1 addition & 1 deletion main.js
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ const init = async () => {
const [order] = await api.getOrder(id);
new Order().mount(new Main().element, order);

new Header().changeCount(basketCount);
new Header().changeCount(0);
},
{
leave(done) {
Expand Down
Binary file removed public/img/photo.jpg
Binary file not shown.

0 comments on commit a38c961

Please sign in to comment.