forked from I2P_Developers/i2p.i2p
Console: Set minimum displayed profile thresholds to 1
This commit is contained in:
@ -287,11 +287,11 @@ class ProfileOrganizerRenderer {
|
||||
buf.append("<h3 class=\"tabletitle\">").append(_t("Thresholds")).append("</h3>\n")
|
||||
.append("<table id=\"thresholds\"><tbody>")
|
||||
.append("<tr><th><b>")
|
||||
.append(_t("Speed")).append(": </b>").append(num(_organizer.getSpeedThreshold()))
|
||||
.append(_t("Speed")).append(": </b>").append(num(Math.max(1, _organizer.getSpeedThreshold())))
|
||||
.append("</th><th><b>")
|
||||
.append(_t("Capacity")).append(": </b>").append(num(_organizer.getCapacityThreshold()))
|
||||
.append(_t("Capacity")).append(": </b>").append(num(Math.max(1, _organizer.getCapacityThreshold())))
|
||||
.append("</th><th><b>")
|
||||
.append(_t("Integration")).append(": </b>").append(num(_organizer.getIntegrationThreshold()))
|
||||
.append(_t("Integration")).append(": </b>").append(num(Math.max(1, _organizer.getIntegrationThreshold())))
|
||||
.append("</th></tr><tr><td>")
|
||||
.append(ngettext("{0} fast peer", "{0} fast peers", fast))
|
||||
.append("</td><td>")
|
||||
|
Reference in New Issue
Block a user