diff options
Diffstat (limited to 'webAO')
| -rw-r--r-- | webAO/client.css | 2 | ||||
| -rw-r--r-- | webAO/client.js | 12 |
2 files changed, 6 insertions, 8 deletions
diff --git a/webAO/client.css b/webAO/client.css index 895293e..037bb0a 100644 --- a/webAO/client.css +++ b/webAO/client.css @@ -208,6 +208,8 @@ img { height: 0%; width: auto; top: 1.5em; + transition: 0.25s linear; + transition-property: height, opacity; } #client_shout { 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; } } |
