From f2316ce96b7e35179bea7629c4c421c20124a715 Mon Sep 17 00:00:00 2001 From: "Saw, Hansly Kendrich" Date: Sun, 18 Sep 2022 14:18:17 +0800 Subject: [PATCH] changed website - IP address is now shown even when not required. - Pairing code is set to number type. - Changed options. --- static/js/app.js | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/static/js/app.js b/static/js/app.js index 86feb64..f26ce8f 100644 --- a/static/js/app.js +++ b/static/js/app.js @@ -85,13 +85,13 @@ class PairingMethodPicker extends Component { return html` ` @@ -154,7 +154,7 @@ class PrivateIpAddress extends Component { ${(pairing_method == PairingMethod.STADIA) && html` - + `} ${(pairing_method == PairingMethod.DEFAULT && state.lock_host) && html` @@ -193,7 +193,7 @@ class PairingCode extends Component { return html` ${[PairingMethod.DEFAULT, PairingMethod.STADIA].indexOf(pairing_method) > -1 && html` - !/[0-9]/.test(e.key) && e.preventDefault()} onChange=${this.onChange} /> + !/[0-9]/.test(e.key) && e.preventDefault()} onChange=${this.onChange} /> `} ${[PairingMethod.DEFAULT, PairingMethod.STADIA].indexOf(pairing_method) == -1 && html`