Skip to content

Commit

Permalink
Merge pull request #637 from justinTM/master
Browse files Browse the repository at this point in the history
fix _simulator.js number of nodes alert
  • Loading branch information
dnephin authored Nov 1, 2021
2 parents d972b15 + 1619379 commit f9e6b6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion website/source/assets/javascripts/_simulator.js
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ var SerfSimulator = {

this.$nodes.on("change", function() {
var nodes = Number(this.value);
if (isNaN(nodes) || nodes <= 1) {
if (isNaN(nodes) || nodes < 1) {
alert("Must have at least one node!");
return;
}
Expand Down

0 comments on commit f9e6b6b

Please sign in to comment.