No edit summary |
No edit summary |
||
Line 5: | Line 5: | ||
<includeonly> | <includeonly> | ||
<script> | <script> | ||
function | function changeWidth() { | ||
var x = document.getElementsByClassName("ts-inner"); | var x = document.getElementsByClassName("ts-inner"); | ||
if (x.style.maxWidth === "none") { | if (x.style.maxWidth === "none") { | ||
Line 14: | Line 14: | ||
} | } | ||
</script> | </script> | ||
<button onclick=" | <button onclick="ChangeWidth()">Try it</button> | ||
</includeonly> | </includeonly> |
Revision as of 13:36, 5 July 2023