mirror of
https://github.com/gorhill/uMatrix.git
synced 2024-06-01 18:10:17 +12:00
this fixes https://github.com/gorhill/uBlock/issues/763
This commit is contained in:
parent
8200c07a7f
commit
9cfc2ff6f8
|
@ -2422,7 +2422,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