回答編集履歴
1
不必要なコード削除
test
CHANGED
@@ -23,8 +23,6 @@
|
|
23
23
|
document.querySelector('#mt').addEventListener('animationend', closeDoors);
|
24
24
|
|
25
25
|
}
|
26
|
-
|
27
|
-
|
28
26
|
|
29
27
|
|
30
28
|
|
@@ -76,9 +74,7 @@
|
|
76
74
|
|
77
75
|
async function navigate(direction, url) {
|
78
76
|
|
79
|
-
let mt = document.querySelector('#mt');
|
80
|
-
|
81
|
-
await animatePromise(mt, '1.5s ease ' + direction);
|
77
|
+
await animatePromise(document.querySelector('#mt'), '1.5s ease ' + direction);
|
82
78
|
|
83
79
|
|
84
80
|
|