質問編集履歴

1

誤字

2021/02/10 06:43

投稿

pondering
pondering

スコア104

test CHANGED
File without changes
test CHANGED
@@ -240,11 +240,11 @@
240
240
 
241
241
  if (bottom + '326px' <= $(window).scrollTop()) {
242
242
 
243
- $btnMenu.addClass('is-fixed');
243
+ $btnMenu.classList.add("is-fixed");
244
244
 
245
245
  }else{
246
246
 
247
- $btnMenu.removeClass('is-fixed');
247
+ $btnMenu.classList.remove("is-fixed");
248
248
 
249
249
  }
250
250