tweaked sizes gifs

This commit is contained in:
Ben Arc 2021-04-20 15:45:54 +01:00
parent d773eb84cf
commit e2c3cecdf4

View File

@ -215,7 +215,7 @@
if (res[0] != this.oldRes) { if (res[0] != this.oldRes) {
this.oldRes = res[0] this.oldRes = res[0]
if (res[1] == 'rocket') { if (res[1] == 'rocket') {
document.getElementById('animations').style.width = '30%' document.getElementById('animations').style.width = '40%'
document.getElementById('animations').src = document.getElementById('animations').src =
'/copilot/static/rocket.gif' '/copilot/static/rocket.gif'
setTimeout(function () { setTimeout(function () {
@ -223,7 +223,7 @@
}, 5000) }, 5000)
} }
if (res[1] == 'face') { if (res[1] == 'face') {
document.getElementById('animations').style.width = '30%' document.getElementById('animations').style.width = '35%'
document.getElementById('animations').src = document.getElementById('animations').src =
'/copilot/static/face.gif' '/copilot/static/face.gif'
setTimeout(function () { setTimeout(function () {
@ -249,7 +249,7 @@
}, 5000) }, 5000)
} }
if (res[1] == 'martijn') { if (res[1] == 'martijn') {
document.getElementById('animations').style.width = '30%' document.getElementById('animations').style.width = '40%'
document.getElementById('animations').src = document.getElementById('animations').src =
'/copilot/static/martijn.gif' '/copilot/static/martijn.gif'
setTimeout(function () { setTimeout(function () {
@ -257,7 +257,7 @@
}, 5000) }, 5000)
} }
if (res[1] == 'rick') { if (res[1] == 'rick') {
document.getElementById('animations').style.width = '30%' document.getElementById('animations').style.width = '40%'
document.getElementById('animations').src = document.getElementById('animations').src =
'/copilot/static/rick.gif' '/copilot/static/rick.gif'
setTimeout(function () { setTimeout(function () {