diff options
| author | Qube <qchinious@gmail.com> | 2018-07-19 09:55:00 +0700 |
|---|---|---|
| committer | Qube <qchinious@gmail.com> | 2018-07-19 09:55:00 +0700 |
| commit | 5b12a4d6572bca5ae73474f84362cc3507ae3f3c (patch) | |
| tree | cd8f39e63cc6ec53516d170f279bef2acfd73698 /webAO/client.js | |
| parent | 119a6b4f03fcd6defc68b504d9b529a9f0c562d0 (diff) | |
Fix escape decode and adjust pre-animation.
Diffstat (limited to 'webAO/client.js')
| -rw-r--r-- | webAO/client.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/webAO/client.js b/webAO/client.js index 9f87547..2d7964a 100644 --- a/webAO/client.js +++ b/webAO/client.js @@ -722,7 +722,7 @@ class Viewport { // Should be aware browsers have a minimum frame delay // e.g. 6ms for IE, 2ms modern browsers (50fps) - duration += delay < 2 ? 10 : (delay+2) + duration += delay < 2 ? 10 : (delay) } } // Return animation length @@ -1242,7 +1242,7 @@ function unescapeChat(estring) { .replace(/<pound>/g, "#") .replace(/<and>/g, "&") .replace(/<percent>/g, "%") - .replace(/\<dollar>/g, "$"); + .replace(/<dollar>/g, "$"); } /** |
