mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-26 12:25:20 +01:00
cleanup braintree stylesheet
This commit is contained in:
parent
93cec9a2d6
commit
24ee5c2d5d
@ -103,6 +103,10 @@ export class PaymentComponent implements OnInit {
|
||||
});
|
||||
if (!this.hidePaypal) {
|
||||
window.document.head.removeChild(this.btScript);
|
||||
const btStylesheet = window.document.head.querySelector('#braintree-dropin-stylesheet');
|
||||
if (btStylesheet != null) {
|
||||
window.document.head.removeChild(btStylesheet);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user