diff --git a/Custom Web Tools/package.json b/Custom Web Tools/package.json index bffaad6..db4cbd2 100644 --- a/Custom Web Tools/package.json +++ b/Custom Web Tools/package.json @@ -1,6 +1,6 @@ { "name": "postalpoint_custom_web_tools", - "version": "1.0.0", + "version": "1.1.0", "main": "plugin.js", "author": "PostalPortal LLC", "license": "BSD-3-Clause", diff --git a/Custom Web Tools/plugin.js b/Custom Web Tools/plugin.js index a8beddd..ce0ae69 100644 --- a/Custom Web Tools/plugin.js +++ b/Custom Web Tools/plugin.js @@ -16,7 +16,7 @@ exports.init = function () { } global.apis.ui.addToolsPage(function () { global.apis.ui.openInternalWebBrowser(urls[i]); - }, titles[i], "", (titles[i] == urls[i] ? "" : urls[i]), titles[i], "fa-duotone fa-globe-pointer", "function"); + }, titles[i], "customwebtools_" + encodeURIComponent(urls[i]), (titles[i] == urls[i] ? "" : urls[i]), titles[i], "fa-duotone fa-globe-pointer", "function"); } };