保留新版关店入口并在页面跳转前核对原始写入回执
This commit is contained in:
1 parent
42395de23a
commit
81b1954b4c
4 files changed
+34
-9
No files matched your search
@@ -10,7 +10,8 @@
|
||||
if (leaving) return;
|
||||
leaving = true;
|
||||
document.documentElement.style.visibility = 'hidden';
|
||||
location.replace(location.pathname.startsWith('/next/') ? '/next/' : '/');
|
||||
const next = location.pathname === '/next' || location.pathname.startsWith('/next/');
|
||||
location.replace(next ? '/next/' : '/');
|
||||
}
|
||||
function warn() {
|
||||
if (document.getElementById('closing-warning')) return;
|
||||
|
||||
Reference in new issue
Block a user