diff --git a/lnbits/extensions/cashu/templates/cashu/wallet.html b/lnbits/extensions/cashu/templates/cashu/wallet.html index 7eb81c9d..b7b5334f 100644 --- a/lnbits/extensions/cashu/templates/cashu/wallet.html +++ b/lnbits/extensions/cashu/templates/cashu/wallet.html @@ -1392,7 +1392,7 @@ clearInterval(this.invoiceCheckListener) this.invoiceData.bolt11 = '' this.showInvoiceDetails = false - navigator.vibrate(200) + if (window.navigator.vibrate) navigator.vibrate(200) this.$q.notify({ timeout: 5000, type: 'positive', @@ -1620,7 +1620,7 @@ }) this.storehistoryTokens() - navigator.vibrate(200) + if (window.navigator.vibrate) navigator.vibrate(200) this.$q.notify({ timeout: 5000, type: 'positive', @@ -1716,7 +1716,7 @@ '', payload ) - navigator.vibrate(200) + if (window.navigator.vibrate) navigator.vibrate(200) this.$q.notify({ timeout: 5000, type: 'positive', @@ -1836,7 +1836,7 @@ } if (paid){ console.log("### token paid") - navigator.vibrate(200) + if (window.navigator.vibrate) navigator.vibrate(200) this.$q.notify({ timeout: 5000, type: 'positive',