Skip to content

Commit

Permalink
#292 fix 864dc00 which broke the connect page
Browse files Browse the repository at this point in the history
  • Loading branch information
totaam committed Mar 29, 2024
1 parent 0276c4f commit 81692ba
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions html5/connect.html
Original file line number Diff line number Diff line change
Expand Up @@ -778,17 +778,17 @@ <h4 class="panel-title">Advanced options</h4>
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 (
Expand Down

0 comments on commit 81692ba

Please sign in to comment.