Skip to content

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

adding a handler for the close left panel button

Ilian76b4361ee0f2
diff --git a/data/js/core.ui.js b/data/js/core.ui.js
index 2158c34d9..edfe584f7 100644
--- a/data/js/core.ui.js
+++ b/data/js/core.ui.js
@@ -163,6 +163,10 @@ define(function(require, exports, module) {
$( "#toggleLeftPanel" ).click(function() {
TSCORE.toggleLeftPanel();
});
+
+ $( "#closeLeftPanel" ).click(function() {
+ TSCORE.toggleLeftPanel();
+ });
$( "#txtFileTypeButton" ).click(function(e) {
// Fixes reloading of the application by click