Skip to content

TagSpaces is an offline, open source, document manager with tagging support

new perspective menu logic

uggrock9f74484236b7
diff --git a/data/js/core.api.js b/data/js/core.api.js
index 76f895776..e51bfd7cb 100644
--- a/data/js/core.api.js
+++ b/data/js/core.api.js
@@ -344,14 +344,14 @@ define(function(require, exports, module) {
function openFileViewer() {
tsCoreUI.hideAllDropDownMenus();
shouldOpenCol3 = true;
- $(".extMainMenuButton").parent().hide();
+ $(".perspectiveMainMenuButton").parent().hide();
reLayout();
}
function closeFileViewer() {
shouldOpenCol3 = false;
isFullWidth = false;
- $(".extMainMenuButton").parent().show();
+ $(".perspectiveMainMenuButton").parent().show();
reLayout();
}