mirror of
https://github.com/zotero/zotero.git
synced 2026-09-21 00:22:44 +00:00
FileHandlers: Fix unintended fallthrough in switch
May have been responsible for this: https://forums.zotero.org/discussion/comment/483004#Comment_483004
This commit is contained in:
parent
e700f5ca98
commit
ea4f5fee60
1 changed files with 2 additions and 0 deletions
|
|
@ -313,11 +313,13 @@ Zotero.FileHandlers = {
|
|||
switch (appPath.toLowerCase()) {
|
||||
case 'okular':
|
||||
appPath = '/usr/bin/okular';
|
||||
break;
|
||||
|
||||
// It's "Document Viewer" on stock Ubuntu
|
||||
case 'document viewer':
|
||||
case 'evince':
|
||||
appPath = '/usr/bin/evince';
|
||||
break;
|
||||
}
|
||||
}
|
||||
else if (await IOUtils.exists('/usr/bin/okular')) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue