回答編集履歴
1
修正
test
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
<script>
|
4
4
|
|
5
|
-
let opend = false;
|
5
|
+
let opened = false;
|
6
6
|
|
7
7
|
$(function() {
|
8
8
|
|
@@ -10,9 +10,9 @@
|
|
10
10
|
|
11
11
|
$(window).scroll(function() {
|
12
12
|
|
13
|
-
if (opend == false && $(this).scrollTop() > 300) {
|
13
|
+
if (opened == false && $(this).scrollTop() > 300) {
|
14
14
|
|
15
|
-
opend = true;
|
15
|
+
opened = true;
|
16
16
|
|
17
17
|
popup.fadeIn();
|
18
18
|
|