Adityadn commited on
Commit
3c651e2
·
verified ·
1 Parent(s): 77c24bf

Update script.js

Browse files
Files changed (1) hide show
  1. script.js +2 -2
script.js CHANGED
@@ -274,8 +274,8 @@ try {
274
 
275
  if (
276
  window.location.href
277
- .replace("/?", "?")
278
- .replace("index.html", "") !== urlDB
279
  ) {
280
  await alert(`Kamu akan diarahkan ke halaman ${urlDB}`);
281
  await new Promise((res) => setTimeout(res, 1000));
 
274
 
275
  if (
276
  window.location.href
277
+ .replace("index.html", "")
278
+ .replace("/?", "?") !== urlDB
279
  ) {
280
  await alert(`Kamu akan diarahkan ke halaman ${urlDB}`);
281
  await new Promise((res) => setTimeout(res, 1000));