gorhill 8 years ago
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…
Cancel
Save