From 81692ba11c34da0968e9c8f72119f7831b944b62 Mon Sep 17 00:00:00 2001 From: Antoine Martin Date: Fri, 29 Mar 2024 18:11:35 +0700 Subject: [PATCH] #292 fix 864dc00808c6caab238578919cc2442488d4c9cf which broke the connect page --- html5/connect.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/html5/connect.html b/html5/connect.html index 2bb94664..fcbeee6c 100644 --- a/html5/connect.html +++ b/html5/connect.html @@ -778,17 +778,17 @@

Advanced options

function fill_form(default_settings) { const getparam = function (prop) { let v = Utilities.getparam(prop); - if (v == null && prop in default_settings) { + if (v === undefined && prop in default_settings) { v = default_settings[prop]; } return v; }; const getboolparam = function (prop, default_value) { let v = Utilities.getparam(prop); - if (v == null && prop in default_settings) { + if (v === undefined && prop in default_settings) { v = default_settings[prop]; } - if (v === null) { + if (v === undefined) { return default_value; } return (