Skip to content

Commit

Permalink
#92, fix text represenation compare for checkbox comment enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
thrize committed Apr 14, 2018
1 parent 6ce03b6 commit a2c96d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server.js
Original file line number Diff line number Diff line change
Expand Up @@ -1134,7 +1134,7 @@ app.get("/edit-config", function(req, res) {
change = true;
html_title += "Updated POST_METADATA_MAX_RUNS_TO_KEEP";
} else if (req.query.COMMENT_ENABLED) {
configVars.COMMENT_ENABLED = atob(req.query.COMMENT_ENABLED).localeCompare('on') ? 'on' : 'off';
configVars.COMMENT_ENABLED = atob(req.query.COMMENT_ENABLED).localeCompare('on') === 0 ? 'on' : 'off';
change = true;
html_title += "Updated COMMENT_ENABLED";
}
Expand Down

0 comments on commit a2c96d5

Please sign in to comment.