No edit summary |
No edit summary Tag: Reverted |
||
Line 21: | Line 21: | ||
function myFunction() { | function myFunction() { | ||
var x = document.getElementByClassName("ts-inner"); | var x = document.getElementByClassName("ts-inner"); | ||
if (x.style.max-width === "none" | if (x.style.max-width === "115em") { | ||
x.style.max-width = "none"; | |||
} else { | |||
x.style.max-width = "115em"; | x.style.max-width = "115em"; | ||
} | } | ||
} | } |
Revision as of 17:58, 23 June 2023