From 39170093af575d71a8909e665fbd3613ec9db8a9 Mon Sep 17 00:00:00 2001 From: Alessio Vanni Date: Wed, 27 Feb 2019 16:02:42 +0100 Subject: Recover tooltip text for Basilisk It appears that with CustomizableUI, the double tooltip issue is not present. Thus, the tooltip can be safely used. --- js/vapi-background.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'js') diff --git a/js/vapi-background.js b/js/vapi-background.js index 54380a0..b871b7e 100644 --- a/js/vapi-background.js +++ b/js/vapi-background.js @@ -2198,6 +2198,7 @@ vAPI.toolbarButton = { type: 'view', viewId: location.host + '-panel', label: vAPI.app.name, + tooltiptext: vAPI.app.name, tabs: {/*tabId: {badge: 0, img: boolean}*/}, init: null, codePath: '' @@ -2381,7 +2382,6 @@ vAPI.toolbarButton = { } tbb.codePath = 'legacy'; - tbb.id = 'ematrix-button'; // NOTE: must match legacy-toolbar-button.css tbb.viewId = tbb.id + '-panel'; var styleSheetUri = null; @@ -2718,6 +2718,9 @@ vAPI.toolbarButton = { // Firefox Australis >= 36. (function() { + // It appears that this branch actually works on the latest + // Basilisk. Maybe we can simply use this one directly instead of + // making checks like it's done now. var tbb = vAPI.toolbarButton; if ( tbb.init !== null ) { return; -- cgit v1.2.3