Update script.js
Browse files
script.js
CHANGED
@@ -274,8 +274,8 @@ try {
|
|
274 |
|
275 |
if (
|
276 |
window.location.href
|
277 |
-
.replace("
|
278 |
-
.replace("
|
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));
|