jonathanperret / paysage

Paysage is a visual shared playground for code.
http://paysage.xyz
GNU Affero General Public License v3.0
19 stars 9 forks source link

Forces the checkbox of the switch button to be checked on page loading #111

Closed etienneCharignon closed 6 years ago

etienneCharignon commented 6 years ago

On firefox, if you reload (simple reload without reloading all the resources) the page while the switch button is on "preview is off", the switch become desynchronised from the state of the page. It appears grey and on the left, while the text says "preview is on" and the preview is effectively on.

jonathanperret commented 6 years ago

I heard that autocomplete="off" on the checkbox would disable that annoying behaviour without any JavaScript. https://bugzilla.mozilla.org/show_bug.cgi?id=654072