mirror of https://github.com/gorhill/uBlock.git
this fixes #1257: toolbar button missing for new uBO install w/ Seamonkey 2.39
This commit is contained in:
parent
d584be832b
commit
bb27f33b35
|
@ -2751,7 +2751,10 @@ vAPI.toolbarButton = {
|
||||||
break;
|
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;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue