Skip to content

Commit

Permalink
Merge pull request #76 from hyperaudio/75-payment-pointer-element
Browse files Browse the repository at this point in the history
75 payment pointer intermittent bug
  • Loading branch information
maboa authored Nov 9, 2021
2 parents db12ed5 + 8680c7b commit ae3a19a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion js/hyperaudio-lite.js
Original file line number Diff line number Diff line change
Expand Up @@ -426,7 +426,11 @@ class HyperaudioLite {
};

checkPaymentPointer = element => {
let paymentPointer = element.getAttribute('data-wm');
let paymentPointer = null;

if (typeof(element) != "undefined") {
paymentPointer = element.getAttribute('data-wm');
}

if (paymentPointer !== null) {
return paymentPointer;
Expand Down

0 comments on commit ae3a19a

Please sign in to comment.