aboutsummaryrefslogtreecommitdiffstats
path: root/js
diff options
context:
space:
mode:
Diffstat (limited to 'js')
-rw-r--r--js/vapi-background.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/js/vapi-background.js b/js/vapi-background.js
index b871b7e..55ce363 100644
--- a/js/vapi-background.js
+++ b/js/vapi-background.js
@@ -2396,6 +2396,7 @@ vAPI.toolbarButton = {
toolbarButton.setAttribute('removable', 'true');
toolbarButton.setAttribute('class', 'toolbarbutton-1 chromeclass-toolbar-additional');
toolbarButton.setAttribute('label', tbb.label);
+ toolbarButton.setAttribute('tooltiptext', tbb.tooltiptext);
var toolbarButtonPanel = document.createElement('panel');
// NOTE: Setting level to parent breaks the popup for PaleMoon under
@@ -2406,6 +2407,8 @@ vAPI.toolbarButton = {
toolbarButtonPanel.addEventListener('popuphiding', tbb.onViewHiding);
toolbarButton.appendChild(toolbarButtonPanel);
+ toolbarButtonPanel.setAttribute('tooltiptext', '');
+
return toolbarButton;
};