aboutsummaryrefslogtreecommitdiffstats
path: root/platform
diff options
context:
space:
mode:
authorgorhill <rhill@raymondhill.net>2015-06-18 17:09:24 -0400
committergorhill <rhill@raymondhill.net>2015-06-18 17:09:24 -0400
commitfb25df9f0549b65ccaeae9f4b6f0c0289bce7d97 (patch)
tree59cd05e3a9ecbc9b6972b0317096d53dcb37b4d1 /platform
parent1eb8239dc217e1e029db335c882553dd5661b7fb (diff)
downloaduBlock-fb25df9f0549b65ccaeae9f4b6f0c0289bce7d97.zip
uBlock-fb25df9f0549b65ccaeae9f4b6f0c0289bce7d97.tar.gz
uBlock-fb25df9f0549b65ccaeae9f4b6f0c0289bce7d97.tar.bz2
this fixes https://github.com/chrisaljoudi/uBlock/issues/1449
Diffstat (limited to 'platform')
-rw-r--r--platform/firefox/css/legacy-toolbar-button.css2
-rw-r--r--platform/firefox/vapi-background.js1
2 files changed, 3 insertions, 0 deletions
diff --git a/platform/firefox/css/legacy-toolbar-button.css b/platform/firefox/css/legacy-toolbar-button.css
index b6489d5..c4e2252 100644
--- a/platform/firefox/css/legacy-toolbar-button.css
+++ b/platform/firefox/css/legacy-toolbar-button.css
@@ -39,6 +39,8 @@ toolbarpaletteitem #uBlock0-legacy-button[badge]::before {
}
/* Prevent pale moon from showing the arrow underneath the button */
+/* https://github.com/chrisaljoudi/uBlock/issues/1449#issuecomment-112112761 */
#uBlock0-legacy-button .toolbarbutton-menu-dropmarker {
+ display: none;
-moz-box-orient: horizontal;
}
diff --git a/platform/firefox/vapi-background.js b/platform/firefox/vapi-background.js
index 3e483a3..966daec 100644
--- a/platform/firefox/vapi-background.js
+++ b/platform/firefox/vapi-background.js
@@ -2028,6 +2028,7 @@ vAPI.toolbarButton = {
toolbarButton.setAttribute('removable', 'true');
toolbarButton.setAttribute('class', 'toolbarbutton-1 chromeclass-toolbar-additional');
toolbarButton.setAttribute('label', tbb.label);
+ toolbarButton.setAttribute('tooltiptext', tbb.label);
var toolbarButtonPanel = document.createElement('panel');
// NOTE: Setting level to parent breaks the popup for PaleMoon under