You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Simple UI bug: in the Serf Convergence Simulator, when you specify the integer number of nodes as 1, an alert pops up saying You must specify at least 1 node!, which is simply off by one.
This HTML element: <input type="text" id="nodes" value="30" class="simulator-input">
This script logic (line 11378):
returnisNaN(t)||1>=t ? voidalert("Must have at least one node!") : (simulator.nodes=t,voidsimulator.draw())
I believe simply needs to become:
returnisNaN(t)||2>t ? voidalert("Must have at least one node!") : (simulator.nodes=t,voidsimulator.draw())
Tada! simple :)
The text was updated successfully, but these errors were encountered:
justinTM
changed the title
Simulator alert for Number of Nodes is of-by-one
Simulator Alert for Number of Nodes Check is Off-by-One
Oct 1, 2021
justinTM
changed the title
Simulator Alert for Number of Nodes Check is Off-by-One
Website Simulator Alert for Number of Nodes Check is Off-by-One
Oct 1, 2021
Hi All!
Simple UI bug: in the Serf Convergence Simulator, when you specify the integer number of nodes as
1
, an alert pops up sayingYou must specify at least 1 node!
, which is simply off by one.This HTML element:
<input type="text" id="nodes" value="30" class="simulator-input">
This script logic (line
11378
):I believe simply needs to become:
Tada! simple :)
The text was updated successfully, but these errors were encountered: