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
Add a link
Reference in a new issue