No edit summary |
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[ | if (x[1].style.maxWidth === "none") { | ||
x[ | x[1].style.maxWidth = "115em"; | ||
} else { | } else { | ||
x[ | x[1].style.maxWidth = "none"; | ||
} | } | ||
} | } | ||
</script> | </script> | ||
</html> | </html> |
Revision as of 13:19, 5 July 2023