From 6840bc478608079aeb2cdebfa858d14e44deda67 Mon Sep 17 00:00:00 2001 From: sD Date: Thu, 26 Dec 2019 18:13:18 +0100 Subject: animate evidence --- webAO/client.js | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) (limited to 'webAO/client.js') diff --git a/webAO/client.js b/webAO/client.js index 9ecae71..26181f5 100644 --- a/webAO/client.js +++ b/webAO/client.js @@ -1420,17 +1420,13 @@ class Viewport { // Only def show evidence on right eviBox.style.right = "1.5em"; eviBox.style.left = "initial"; - $("#client_evi").animate({ - height: "30%", - opacity: 1 - }, 250); + eviBox.style.height = "30%"; + eviBox.style.opacity = 1; } else { eviBox.style.right = "initial"; eviBox.style.left = "1.5em"; - $("#client_evi").animate({ - height: "30%", - opacity: 1 - }, 250); + eviBox.style.height = "30%"; + eviBox.style.opacity = 1; } } -- cgit