From 0e7a29da378ad946dca603e60282231e11a9dd40 Mon Sep 17 00:00:00 2001 From: pypy Date: Sat, 21 Mar 2020 13:20:38 +0900 Subject: [PATCH] cleanup code --- html/app.js | 4 ++-- html/index.html | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/html/app.js b/html/app.js index ad38bcef..c73e2d77 100644 --- a/html/app.js +++ b/html/app.js @@ -5576,7 +5576,7 @@ CefSharp.BindObjectAsync( } if (this.isGameRunning && this.lastLocation === L.tag) { - users.push(this.API.currentUser); + users.push(API.currentUser); } users.sort(compareByDisplayName); D.users = users; @@ -6004,7 +6004,7 @@ CefSharp.BindObjectAsync( }; instances[instance.id] = instance; } - instance.users.push(this.API.currentUser); + instance.users.push(API.currentUser); } } var rooms = []; diff --git a/html/index.html b/html/index.html index 7b52a76d..ab38b76a 100644 --- a/html/index.html +++ b/html/index.html @@ -899,7 +899,7 @@ - {{ userDialog.ref.username | textToHex }} + {{ userDialog.ref.username | textToHex }} @@ -985,7 +985,7 @@
Bio -
{{ userDialog.ref.bio || '-' }}
+
{{ userDialog.ref.bio || '-' }}