Paweł Łaba
commited on
Commit
·
10cb4dc
1
Parent(s):
7e137d1
zmiana w uruchamianiu proagramu
Browse files- public/index.html +1 -1
- public/script.js +1 -1
public/index.html
CHANGED
@@ -15,6 +15,6 @@
|
|
15 |
</div>
|
16 |
|
17 |
|
18 |
-
<script src="./static/script.js?r=
|
19 |
</body>
|
20 |
</html>
|
|
|
15 |
</div>
|
16 |
|
17 |
|
18 |
+
<script src="./static/script.js?r=3" defer></script>
|
19 |
</body>
|
20 |
</html>
|
public/script.js
CHANGED
@@ -124,7 +124,7 @@ async function handleMove(index) {
|
|
124 |
async function initGame() {
|
125 |
|
126 |
$('.restart').addEventListener('click', (e)=>{
|
127 |
-
log('add event restart');
|
128 |
restart();
|
129 |
});
|
130 |
|
|
|
124 |
async function initGame() {
|
125 |
|
126 |
$('.restart').addEventListener('click', (e)=>{
|
127 |
+
console.log('add event restart');
|
128 |
restart();
|
129 |
});
|
130 |
|