No edit summary Tag: Manual revert |
No edit summary |
||
Line 4: | Line 4: | ||
function myFunction() { | function myFunction() { | ||
var x = document.getElementsByClassName("ts-inner"); | var x = document.getElementsByClassName("ts-inner"); | ||
if (x[ | for (i in x) { | ||
x[ | if (x[i].style.maxWidth === "none") { | ||
x[i].style.maxWidth = "115em"; | |||
} else { | } else { | ||
x[ | x[i].style.maxWidth = "none"; | ||
} | } | ||
} | |||
} | } | ||
</script> | </script> | ||
</html> | </html> |
Revision as of 14:31, 5 July 2023