preferenceOptions.helpurl should be string instead string[] (#3310)

This commit is contained in:
Northword 2023-08-11 19:13:58 +08:00 committed by GitHub
parent 9dd182e9ca
commit dcca56d6c3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -116,7 +116,7 @@ Zotero.PreferencePanes = {
* the plugin's root
* @param {String[]} [options.stylesheets] Array of URIs of CSS stylesheets to load along with the pane, optionally
* relative to the plugin's root
* @param {String[]} [options.helpURL] If provided, a help button will be displayed under the pane
* @param {String} [options.helpURL] If provided, a help button will be displayed under the pane
* and the provided URL will open when it is clicked
* @return {Promise<String>} Resolves to the ID of the pane if successfully added
*/