mirror of https://github.com/gorhill/uBlock.git
Unconditionally set label of toolbar icon
Related feedback: - https://github.com/uBlockOrigin/uBlock-issues/discussions/2409
This commit is contained in:
parent
de92a9fa25
commit
e2c3917ecd
|
@ -794,11 +794,7 @@ vAPI.setIcon = (( ) => {
|
|||
// Insert the badge text in the title if:
|
||||
// - the platform does not support browserAction.setIcon(); OR
|
||||
// - the rendering of the badge is disabled
|
||||
if (
|
||||
browserAction.setTitle !== undefined && (
|
||||
browserAction.setIcon === undefined || (parts & 0b1000) !== 0
|
||||
)
|
||||
) {
|
||||
if ( browserAction.setTitle !== undefined ) {
|
||||
browserAction.setTitle({
|
||||
tabId: tab.id,
|
||||
title: titleTemplate.replace(
|
||||
|
|
Loading…
Reference in New Issue