From 3a2cc6efc7425120d85d5a07c7aaf8cf39ff39f1 Mon Sep 17 00:00:00 2001 From: JonnyWong16 <9099342+JonnyWong16@users.noreply.github.com> Date: Fri, 24 Jul 2020 20:56:37 -0700 Subject: [PATCH] Trim address when generating the QR code --- data/interfaces/default/mobile_devices_table.html | 1 + 1 file changed, 1 insertion(+) diff --git a/data/interfaces/default/mobile_devices_table.html b/data/interfaces/default/mobile_devices_table.html index 0f6770a9..c3a16c8c 100644 --- a/data/interfaces/default/mobile_devices_table.html +++ b/data/interfaces/default/mobile_devices_table.html @@ -121,6 +121,7 @@ DOCUMENTATION :: END }); $('#api_qr_address').change(function () { + this.value = $.trim(this.value); var url = $(this).val(); checkQRAddress(url);