mirror of
https://github.com/gorhill/uBlock.git
synced 2024-09-01 08:39:37 +02:00
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
Block a user