回答編集履歴
2
調整
test
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
pageshowイベント内で判断してください
|
2
|
+
|
1
3
|
```javascript
|
2
4
|
|
3
5
|
<script>
|
1
chousei
test
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
var flg=window.performance.navigation.type;
|
6
6
|
|
7
|
-
window.addEventListener('pageshow',
|
7
|
+
window.addEventListener('pageshow', ()=>{
|
8
8
|
|
9
9
|
list=["first","reload","back"];
|
10
10
|
|