From 8d6253bf5d5b161747d8b318a75e06e8c7dbd0d8 Mon Sep 17 00:00:00 2001 From: Ben Arc Date: Tue, 20 Apr 2021 15:38:36 +0100 Subject: [PATCH] Changed gif sizes --- lnbits/extensions/copilot/templates/copilot/compose.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lnbits/extensions/copilot/templates/copilot/compose.html b/lnbits/extensions/copilot/templates/copilot/compose.html index 7be000e70..6f7ae7be0 100644 --- a/lnbits/extensions/copilot/templates/copilot/compose.html +++ b/lnbits/extensions/copilot/templates/copilot/compose.html @@ -215,7 +215,7 @@ if (res[0] != this.oldRes) { this.oldRes = res[0] if (res[1] == 'rocket') { - document.getElementById('animations').style.width = '50%' + document.getElementById('animations').style.width = '30%' document.getElementById('animations').src = '/copilot/static/rocket.gif' setTimeout(function () { @@ -223,7 +223,7 @@ }, 5000) } if (res[1] == 'face') { - document.getElementById('animations').style.width = '50%' + document.getElementById('animations').style.width = '30%' document.getElementById('animations').src = '/copilot/static/face.gif' setTimeout(function () { @@ -249,7 +249,7 @@ }, 5000) } if (res[1] == 'martijn') { - document.getElementById('animations').style.width = '50%' + document.getElementById('animations').style.width = '30%' document.getElementById('animations').src = '/copilot/static/martijn.gif' setTimeout(function () { @@ -257,7 +257,7 @@ }, 5000) } if (res[1] == 'rick') { - document.getElementById('animations').style.width = '50%' + document.getElementById('animations').style.width = '30%' document.getElementById('animations').src = '/copilot/static/rick.gif' setTimeout(function () {