Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
Seems disjointed to have to confirm [Discard] post so far away.
I used bootbox to render those confirm modals.
Could easily remove that and change the "discard" button so that when clicked, it gets replaced with [No | Yes]
In addition I think it may be a bit confusing when receiving that message when you're discarding a post that you're editing
lol @psychobunny -- that as a half-hearted attempt at adding the post discard confirmation.
I just added a check to calculate the textarea's value length, but it should really be a flag that is toggled onchange
onchange
Fixed it up now, so it doesn't show up on edit (unless something changed)