Skip to content

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

disable the doubleclick event in favor of the hammer's doubletab

Ilian4a83a07d9104
diff --git a/data/ext/perspectiveGrid/perspectiveUI.js b/data/ext/perspectiveGrid/perspectiveUI.js
index e79a00e6d..f970fb98c 100644
--- a/data/ext/perspectiveGrid/perspectiveUI.js
+++ b/data/ext/perspectiveGrid/perspectiveUI.js
@@ -499,10 +499,11 @@ console.log("Loading UI for perspectiveDefault");
var filePath = $fileTile.attr("filepath");
var self = this;
- $fileTile.dblclick(function() {
- TSCORE.FileOpener.openFile(filePath);
- self.selectFile(filePath);
- })
+ $fileTile
+ //.dblclick(function() {
+ // TSCORE.FileOpener.openFile(filePath);
+ // self.selectFile(filePath);
+ //})
.hammer().on("doubletap", function(event) {
TSCORE.FileOpener.openFile(filePath);
self.selectFile(filePath);