Template:ToggleWidth: Difference between revisions

Template page
No edit summary
Tag: Manual revert
No edit summary
Line 20: Line 20:
<script>
<script>
function myFunction() {
function myFunction() {
   var x = document.getElementByClassName("ts-inner");
   var x = document.getElementsByClassName("ts-inner");
   if (x.style.max-width === "none") {
   if (x.style.max-width === "none") {
     x.style.max-width = "115em";
     x.style.max-width = "115em";

Revision as of 18:00, 23 June 2023