forked from I2P_Developers/i2p.i2p
Make the new dropdown_hover.png look consistent on i2ptunnel, re-run javascript prettifier
This commit is contained in:
@ -3,7 +3,11 @@ var hideableTables = document.querySelectorAll("table.tunnelConfig th");
|
|||||||
hideableTables.forEach(function(configTable) {
|
hideableTables.forEach(function(configTable) {
|
||||||
configTable.onclick = function() {
|
configTable.onclick = function() {
|
||||||
function lookupTableRow() {
|
function lookupTableRow() {
|
||||||
for (var i = 0, row; (row = configTable.offsetParent.rows[i]); i++) {
|
for (
|
||||||
|
var i = 0, row;
|
||||||
|
(row = configTable.offsetParent.rows[i]);
|
||||||
|
i++
|
||||||
|
) {
|
||||||
if (configTable.parentNode == row) {
|
if (configTable.parentNode == row) {
|
||||||
return i;
|
return i;
|
||||||
}
|
}
|
||||||
@ -29,7 +33,9 @@ hideableTables.forEach(function(configTable) {
|
|||||||
) {
|
) {
|
||||||
row.style.visibility = "collapse";
|
row.style.visibility = "collapse";
|
||||||
collapseme = true;
|
collapseme = true;
|
||||||
configTable.classList.remove("tunnelConfigExpanded");
|
configTable.classList.remove(
|
||||||
|
"tunnelConfigExpanded"
|
||||||
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
Binary file not shown.
Before Width: | Height: | Size: 167 B After Width: | Height: | Size: 336 B |
Reference in New Issue
Block a user