diff --git a/4chan_x.user.js b/4chan_x.user.js index c00dc813f..1c0ea52a0 100644 --- a/4chan_x.user.js +++ b/4chan_x.user.js @@ -1202,6 +1202,7 @@ var f; $('textarea', dialog).value = ''; $('input[name=recaptcha_response_field]', dialog).value = ''; + $('input[name=spoiler]', dialog).checked = false; f = $('input[type=file]', dialog).parentNode; return f.innerHTML = f.innerHTML; }, diff --git a/script.coffee b/script.coffee index 7cecaefa3..fc591a93d 100644 --- a/script.coffee +++ b/script.coffee @@ -946,6 +946,7 @@ qr = refresh: (dialog) -> $('textarea', dialog).value = '' $('input[name=recaptcha_response_field]', dialog).value = '' + $('input[name=spoiler]', dialog).checked = false # XXX file.value = '' doesn't work in opera f = $('input[type=file]', dialog).parentNode f.innerHTML = f.innerHTML