diff options
author | Alessio Vanni <vannilla@firemail.cc> | 2019-02-27 16:02:42 +0100 |
---|---|---|
committer | Alessio Vanni <vannilla@firemail.cc> | 2019-02-27 16:02:42 +0100 |
commit | 39170093af575d71a8909e665fbd3613ec9db8a9 (patch) | |
tree | fa5d2bde44870942005a2d754bb3cc1440cfe5ad | |
parent | b61fd46f3ac3b7b2786d629af2493b433da734a8 (diff) | |
download | ematrix-39170093af575d71a8909e665fbd3613ec9db8a9.tar.lz ematrix-39170093af575d71a8909e665fbd3613ec9db8a9.tar.xz ematrix-39170093af575d71a8909e665fbd3613ec9db8a9.zip |
Recover tooltip text for Basilisk
It appears that with CustomizableUI, the double tooltip issue is not
present. Thus, the tooltip can be safely used.
-rw-r--r-- | js/vapi-background.js | 5 |
1 files changed, 4 insertions, 1 deletions
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; |