brainstorm
brainstorm copied to clipboard
A note in progress can be deleted if you accidentally click on a link *within* brainstorm
When you're writing a note, it's possible to delete the current draft of the note by leaving the page. Leaving to an external page, or closing the browser, will warn the user that she's leaving the page.
This functionality however, breaks when you click a link within brainstorm itself. Since the browser doesn't realize you're not actually leaving the page. So the warning won't appear, and the draft will instantly dissappear.
A fix could be to save the current draft in localstorage, and load it whenever the page loads.