Don't crash when clicking on a note link with an unknown scheme
This commit is contained in:
parent
e9ea9ae171
commit
ffa2a8d9be
1 changed files with 6 additions and 1 deletions
|
@ -3300,7 +3300,12 @@ var ZoteroPane = new function()
|
|||
}
|
||||
}
|
||||
|
||||
Zotero.launchURL(uri);
|
||||
try {
|
||||
Zotero.launchURL(uri);
|
||||
}
|
||||
catch (e) {
|
||||
Zotero.logError(e);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue