mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-10 01:02:08 +01:00
this fixes #1257: toolbar button missing for new uBO install w/ Seamonkey 2.39
This commit is contained in:
parent
d584be832b
commit
bb27f33b35
1 changed files with 4 additions and 1 deletions
|
@ -2751,7 +2751,10 @@ vAPI.toolbarButton = {
|
|||
break;
|
||||
}
|
||||
|
||||
if ( document.getElementById(tbb.id) !== null ) {
|
||||
// https://github.com/gorhill/uBlock/issues/763
|
||||
// We are done if our toolbar button is already installed in one of the
|
||||
// toolbar.
|
||||
if ( palette !== null && toolbarButton.parentElement !== palette ) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue