mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-13 02:14:17 +01:00
This commit is contained in:
parent
1eb8239dc2
commit
fb25df9f05
2 changed files with 3 additions and 0 deletions
|
@ -39,6 +39,8 @@ toolbarpaletteitem #uBlock0-legacy-button[badge]::before {
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Prevent pale moon from showing the arrow underneath the button */
|
/* 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 {
|
#uBlock0-legacy-button .toolbarbutton-menu-dropmarker {
|
||||||
|
display: none;
|
||||||
-moz-box-orient: horizontal;
|
-moz-box-orient: horizontal;
|
||||||
}
|
}
|
||||||
|
|
|
@ -2028,6 +2028,7 @@ vAPI.toolbarButton = {
|
||||||
toolbarButton.setAttribute('removable', 'true');
|
toolbarButton.setAttribute('removable', 'true');
|
||||||
toolbarButton.setAttribute('class', 'toolbarbutton-1 chromeclass-toolbar-additional');
|
toolbarButton.setAttribute('class', 'toolbarbutton-1 chromeclass-toolbar-additional');
|
||||||
toolbarButton.setAttribute('label', tbb.label);
|
toolbarButton.setAttribute('label', tbb.label);
|
||||||
|
toolbarButton.setAttribute('tooltiptext', tbb.label);
|
||||||
|
|
||||||
var toolbarButtonPanel = document.createElement('panel');
|
var toolbarButtonPanel = document.createElement('panel');
|
||||||
// NOTE: Setting level to parent breaks the popup for PaleMoon under
|
// NOTE: Setting level to parent breaks the popup for PaleMoon under
|
||||||
|
|
Loading…
Reference in a new issue