From 959e717da61363e44b02a096a1f4da62d982237a Mon Sep 17 00:00:00 2001 From: Ben Arc Date: Tue, 20 Apr 2021 13:51:07 +0100 Subject: [PATCH] price fetch bug --- lnbits/extensions/copilot/templates/copilot/compose.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lnbits/extensions/copilot/templates/copilot/compose.html b/lnbits/extensions/copilot/templates/copilot/compose.html index 62c6b86d..6aaa2a7d 100644 --- a/lnbits/extensions/copilot/templates/copilot/compose.html +++ b/lnbits/extensions/copilot/templates/copilot/compose.html @@ -145,7 +145,6 @@ }, animation1: function () { self = this - self.getPrice setTimeout(function () { setInterval(function () { self.connection.send('') @@ -280,6 +279,8 @@ }) var animation1 = this.animation1 animation1() + var getPrice = this.getPrice + getPrice() } })