No edit summary |
No edit summary |
||
Line 6: | Line 6: | ||
function myFunction() { | function myFunction() { | ||
var x = document.getElementsByClassName('ts-inner'); | var x = document.getElementsByClassName('ts-inner'); | ||
if (x.style. | if (x.style.maxWidth === "none") { | ||
x.style. | x.style.maxWidth = "115em"; | ||
} else { | } else { | ||
x.style. | x.style.maxWidth = "none"; | ||
} | } | ||
} | } |
Revision as of 18:04, 23 June 2023