回答編集履歴
1
ミスの修正
answer
CHANGED
@@ -10,7 +10,7 @@
|
|
10
10
|
if (w <= x && current !== 'small') {
|
11
11
|
// 640px以下のときの処理
|
12
12
|
current = 'small';
|
13
|
-
} else if (w > x && current !== 'big) {
|
13
|
+
} else if (w > x && current !== 'big') {
|
14
14
|
// 641px以上のときの処理
|
15
15
|
current = 'big';
|
16
16
|
}
|