mastodon/app/javascript
unarist 49a285ce15 Show confirmation dialog on leaving WebUI while composing (#5616)
* Show confirmation dialog on leaving WebUI while composing

Currently, Back button and Back hotkey can cause leaving from WebUI, as well as browser's back button. Users may hit those buttons accidentally, and their composing text will be lost.

So this prevents it by showing confirmation dialog from `onbeforeunload` event.

* Fix message and comments
2017-11-09 14:34:41 +01:00
..
fonts Redesign the landing page, mount public timeline on it (#4122) 2017-07-11 15:27:59 +02:00
images Remove redundant width/height values from SVGs to fix Safari bug (#4956) 2017-09-15 00:51:00 +02:00
mastodon Show confirmation dialog on leaving WebUI while composing (#5616) 2017-11-09 14:34:41 +01:00
packs Enable ESLint rules import/* (#5414) 2017-10-16 11:12:09 +02:00
styles Eliminate space around emoji (#5474) 2017-11-07 19:09:53 +01:00