I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Commit 05082e3f authored by idk's avatar idk
Browse files

On iframed i2ptunnel pages, resize the height of the iframe when a config...

On iframed i2ptunnel pages, resize the height of the iframe when a config table is expanded or contacted
parent 4b655070
No related branches found
No related tags found
No related merge requests found
......@@ -52,6 +52,14 @@ hideableTables.forEach(function(configTable) {
}
}
configTable.parentNode.style.visibility = "visible";
var iiframe = document.getElementById("i2ptunnelframe");
if (iiframe != null) {
var adjustHeight = 0;
for (var child = frame.firstChild; child !== null; child.nextSibling){
adjustHeight += child.offsetHeight;
}
iiframe.height = adjustHeight;
}
};
showAllControls()
for (var i = 0, row; (row = hideableTables[0].offsetParent.rows[i]); i++) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment