We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a63b557 commit 361dbd1Copy full SHA for 361dbd1
1 file changed
apps/files/js/filelist.js
@@ -433,7 +433,9 @@
433
OCA.Files.Files.handleDownload(url);
434
}
435
436
- OCA.Files.Sidebar.open(fileInfo.path);
+ if (document.documentElement.clientWidth > 1024) {
437
+ OCA.Files.Sidebar.open(fileInfo.path);
438
+ }
439
} catch (error) {
440
console.error(`Failed to trigger default action on the file for URL: ${location.href}`, error)
441
0 commit comments