Zotero.Plugins.getResourceURI()
→ getRootURI()
To go with the `rootURI` string variable passed to bootstrap methods
This commit is contained in:
parent
acc4d2a81b
commit
542a6adf84
1 changed files with 1 additions and 1 deletions
|
@ -168,7 +168,7 @@ Zotero.Plugins = new function () {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
this.getResourceURI = async function (id) {
|
this.getRootURI = async function (id) {
|
||||||
var addon = await AddonManager.getAddonByID(id);
|
var addon = await AddonManager.getAddonByID(id);
|
||||||
return addon.getResourceURI().spec;
|
return addon.getResourceURI().spec;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue