Logic tweak re hideButton
This commit is contained in:
parent
f71374277a
commit
7b94a661ed
|
@ -724,7 +724,7 @@ btcpWidget.doOverlay = function(vis) {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Add widget to merchants site where JS script is included
|
// Add widget to merchants site where JS script is included
|
||||||
if (btcpWidget.hideButton) {
|
if (!btcpWidget.data.hideButton) {
|
||||||
get(btcpWidget.id).insertAdjacentElement('afterend',btcpWidget.widget);
|
get(btcpWidget.id).insertAdjacentElement('afterend',btcpWidget.widget);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue