Skip to content

Commit 3fccccb

Browse files
committed
#292 fix 864dc00 which broke the connect page
1 parent 1114e55 commit 3fccccb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

html5/connect.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -778,17 +778,17 @@ <h4 class="panel-title">Advanced options</h4>
778778
function fill_form(default_settings) {
779779
const getparam = function (prop) {
780780
let v = Utilities.getparam(prop);
781-
if (v == null && prop in default_settings) {
781+
if (v === undefined && prop in default_settings) {
782782
v = default_settings[prop];
783783
}
784784
return v;
785785
};
786786
const getboolparam = function (prop, default_value) {
787787
let v = Utilities.getparam(prop);
788-
if (v == null && prop in default_settings) {
788+
if (v === undefined && prop in default_settings) {
789789
v = default_settings[prop];
790790
}
791-
if (v === null) {
791+
if (v === undefined) {
792792
return default_value;
793793
}
794794
return (

0 commit comments

Comments
 (0)