fix: remove broken ES module const reassignment (openFile monkey-patch)
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user