forked from I2P_Developers/i2p.i2p
fix collapsing table behavior on i2ptunnel edit pages
This commit is contained in:
@ -865,9 +865,6 @@
|
||||
<%=intl._t("Server Throttling")%>
|
||||
</th>
|
||||
</tr><tr>
|
||||
<td id="throttle" colspan="8">
|
||||
<table id="throttler">
|
||||
<tr>
|
||||
<th colspan="5">
|
||||
<%=intl._t("Inbound connection limits (0=unlimited)")%>
|
||||
</th>
|
||||
@ -901,9 +898,6 @@
|
||||
<td></td><td>
|
||||
<input type="text" name="maxStreams" title="<%=intl._t("Maximum number of simultaneous client connections")%>" value="<%=editBean.getMaxStreams(curTunnel)%>" class="freetext" />
|
||||
</td><td></td><td></td><td class="blankColumn"></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr><tr>
|
||||
<th colspan="5">
|
||||
<%=intl._t("POST limits (0=unlimited)")%>
|
||||
|
@ -35,6 +35,9 @@ hideableTables.forEach(function(configTable) {
|
||||
if (i >= minRow) {
|
||||
if (row.classList.contains("tunnelConfigExpanded")) {
|
||||
hideRow(row)
|
||||
row.querySelectorAll("th").forEach(function(configRow) {
|
||||
configRow.classList.remove('tunnelConfigExpanded');
|
||||
});
|
||||
configTable.classList.remove('tunnelConfigExpanded');
|
||||
row.classList.remove('tunnelConfigExpanded');
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user