This commit is contained in:
2026-07-14 18:00:33 +02:00
parent 56e17a8e27
commit 0488b187fc

View File

@@ -2120,7 +2120,6 @@ window.cancelAnimFrame = (function () {
window.initSidebarRightToggle(); window.initSidebarRightToggle();
const loadPageAjax = async (url, replace = true, options = {}) => { const loadPageAjax = async (url, replace = true, options = {}) => {
console.log('[f0ck-debug] loadPageAjax called:', { url, replace, options, isNavigating });
if (isNavigating) return; if (isNavigating) return;
// Immediately restore scrollability and hide modals // Immediately restore scrollability and hide modals
@@ -2946,7 +2945,7 @@ window.cancelAnimFrame = (function () {
} }
} catch (err) { } catch (err) {
console.error('[f0ck-debug] loadPageAjax failed with error:', err); console.error(err);
window.location.href = url; // Fallback window.location.href = url; // Fallback
} finally { } finally {
isNavigating = false; isNavigating = false;