Changed gif sizes

This commit is contained in:
Ben Arc 2021-04-20 15:38:36 +01:00
parent aaf39ec9f6
commit 8d6253bf5d

View file

@ -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 () {