1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-07-08 04:49:12 +02:00

this fixes #1257: toolbar button missing for new uBO install w/ Seamonkey 2.39

This commit is contained in:
gorhill 2016-01-19 13:30:28 -05:00
parent d584be832b
commit bb27f33b35

View File

@ -2751,7 +2751,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;
}