Template:ToggleWidth: Difference between revisions

Template page
No edit summary
No edit summary
Line 5: Line 5:
<script>
<script>
function myFunction() {
function myFunction() {
   var x = document.getElementsByClassName('ts-inner');
   var x = document.getElementsByClassName("ts-inner");
   if (x.style.maxWidth === "none") {
   if (x.style.maxWidth === "none") {
     x.style.maxWidth = "115em";
     x.style.maxWidth = "115em";

Revision as of 18:06, 23 June 2023