ya_sir commited on
Commit
7fe9c56
1 Parent(s): b07b28d

Update main.js

Browse files
Files changed (1) hide show
  1. main.js +13 -0
main.js CHANGED
@@ -77,6 +77,19 @@ let reload = false
77
  setTimeout(()=>{
78
  reload = true
79
  },2000000)
 
 
 
 
 
 
 
 
 
 
 
 
 
80
  btn.onclick = async ()=>{
81
  btn.innerText = "CANCEL"
82
  let div = document.getElementById('imshow');
 
77
  setTimeout(()=>{
78
  reload = true
79
  },2000000)
80
+
81
+ btn.onclick = ()=>{
82
+
83
+
84
+ if(btn.innerText == 'CANCEL'){
85
+ window.location.reload()
86
+ }
87
+
88
+
89
+ }
90
+
91
+
92
+
93
  btn.onclick = async ()=>{
94
  btn.innerText = "CANCEL"
95
  let div = document.getElementById('imshow');