質問編集履歴
2
エラー文追記
title
CHANGED
File without changes
|
body
CHANGED
@@ -40,4 +40,18 @@
|
|
40
40
|
$('body, html').animate({ scrollTop: 0 }, 500);
|
41
41
|
return false;
|
42
42
|
});
|
43
|
+
```
|
44
|
+
###エラー内容
|
45
|
+
```ここに言語を入力
|
46
|
+
ncaught RangeError: Maximum call stack size exceeded
|
47
|
+
at RegExp.[Symbol.match] (<anonymous>)
|
48
|
+
at String.match (native)
|
49
|
+
at L (file:///C:/~/static/js/jquery-3.1.1.min.js:2:27768)
|
50
|
+
at Function.r.Callbacks (file:///C:/~/static/js/jquery-3.1.1.min.js:2:27852)
|
51
|
+
at Function.Deferred (file:///C:/~/static/js/jquery-3.1.1.min.js:2:29128)
|
52
|
+
at hb (file:///C:/~/static/js/jquery-3.1.1.min.js:3:27062)
|
53
|
+
at HTMLImageElement.g (file:///C:/~/static/js/jquery-3.1.1.min.js:3:29306)
|
54
|
+
at Function.dequeue (file:///C:/~/static/js/jquery-3.1.1.min.js:3:3171)
|
55
|
+
at HTMLImageElement.e.complete (file:///C:/~/static/js/jquery-3.1.1.min.js:3:29074)
|
56
|
+
at i (file:///C:/~/static/js/jquery-3.1.1.min.js:2:27983)
|
43
57
|
```
|
1
クラス間違い
title
CHANGED
File without changes
|
body
CHANGED
@@ -19,8 +19,8 @@
|
|
19
19
|
$(window).on('load resize', function() {
|
20
20
|
var win = $(window).width();
|
21
21
|
if(win > 767){
|
22
|
-
$('.
|
22
|
+
$('.gotop').show().addClass('pagetop');
|
23
|
-
$('.
|
23
|
+
$('.gotop-sp').hide().removeClass('pagetop');
|
24
24
|
//ここの部分を外すとエラーは表示されない
|
25
25
|
$(this).scroll(function () {
|
26
26
|
if ($(this).scrollTop() > 100) {
|