Remove unused third parameter to ZoteroPane.loadURI()
This commit is contained in:
parent
f87bee9f7c
commit
b4512ac91d
1 changed files with 2 additions and 2 deletions
|
@ -2649,7 +2649,7 @@ var ZoteroPane = new function()
|
|||
* (e.g. meta-click == new background tab, meta-shift-click == new front tab,
|
||||
* shift-click == new window, no modifier == frontmost tab
|
||||
*/
|
||||
function loadURI(uris, event, data) {
|
||||
function loadURI(uris, event) {
|
||||
if(typeof uris === "string") {
|
||||
uris = [uris];
|
||||
}
|
||||
|
@ -3383,7 +3383,7 @@ var ZoteroPane = new function()
|
|||
|
||||
if (!externalViewer) {
|
||||
var url = 'zotero://attachment/' + itemID + '/';
|
||||
this.loadURI(url, event, { attachmentID: itemID});
|
||||
this.loadURI(url, event);
|
||||
}
|
||||
else {
|
||||
// Some platforms don't have nsILocalFile.launch, so we just
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue