1
0
Fork 0
mirror of https://github.com/gorhill/uMatrix.git synced 2024-06-01 18:10:17 +12:00
This commit is contained in:
gorhill 2016-01-24 08:52:32 -05:00
parent 8200c07a7f
commit 9cfc2ff6f8

View file

@ -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;
}