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