Skip to content

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

disabling opening of last location of firefox

Ilian99f7063f687f
diff --git a/data/js/perspective.manager.js b/data/js/perspective.manager.js
index a0eb72554..08b7ae98e 100644
--- a/data/js/perspective.manager.js
+++ b/data/js/perspective.manager.js
@@ -53,9 +53,9 @@ var initPerspectives = function () {
if( perspectives.length === extensions.length) {
initPerspectiveSwitcher();
- // Opening last saved location by the start of the application
+ // Opening last saved location by the start of the application (not in firefox)
var lastLocation = TSCORE.Config.getLastOpenedLocation();
- if(lastLocation != undefined && lastLocation.length > 1) {
+ if(lastLocation != undefined && lastLocation.length > 1 && !isFirefox) {
TSCORE.openLocation(lastLocation);
}
}