Template:ToggleWidth: Difference between revisions

Template page
No edit summary
Tag: Reverted
No edit summary
Tags: Manual revert Reverted
Line 3: Line 3:
<script>
<script>
function myFunction() {
function myFunction() {
   var x = document.querySelector(".ts-inner")
   var x = document.querySelector("#mw-content-container .ts-inner")
   if (x.style.maxWidth === "none") {
   if (x.style.maxWidth === "none") {
     x.style.maxWidth = "115em";
     x.style.maxWidth = "115em";

Revision as of 13:24, 5 July 2023