質問するログイン新規登録

回答編集履歴

1

ミスの修正

2015/09/02 16:34

投稿

icham
icham

スコア559

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
  }