From a0768d7a765bcbc9a64db5cec84aef7a6f7d2fbf Mon Sep 17 00:00:00 2001 From: Bruno Charest Date: Thu, 28 May 2026 15:43:31 -0400 Subject: [PATCH] fix: remove broken ES module const reassignment (openFile monkey-patch) --- frontend/js/ui.js | 6 ------ 1 file changed, 6 deletions(-) diff --git a/frontend/js/ui.js b/frontend/js/ui.js index 543a116..8d1c0a3 100644 --- a/frontend/js/ui.js +++ b/frontend/js/ui.js @@ -2209,12 +2209,6 @@ async function init() { safeCreateIcons(); } -// ---- Modify openFile to use TabManager ---- -const _originalOpenFile = openFile; -openFile = function(vault, path) { - TabManager.open(vault, path); -}; - // ---- Keyboard shortcuts for tabs ---- document.addEventListener("keydown", (e) => { if (e.ctrlKey || e.metaKey) {