You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
mastodon/app/javascript/mastodon
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
7 years ago
..
actions Refactor initial state: "me" (#5563) 7 years ago
components Replace react-router-scroll to react-router-scroll-4 (#5568) 7 years ago
containers Replace react-router-scroll to react-router-scroll-4 (#5568) 7 years ago
features Show confirmation dialog on leaving WebUI while composing (#5616) 7 years ago
locales fix: slang to adequate word (#5453) 7 years ago
middleware
reducers Refactor initial state: auto_play_gif (#5576) 7 years ago
selectors
service_worker
store
.gitkeep
api.js
base_polyfills.js
extra_polyfills.js
initial_state.js Refactor initial state: "me" (#5563) 7 years ago
is_mobile.js
link_header.js
load_polyfills.js
main.js
performance.js
ready.js
rtl.js
scroll.js
stream.js
test_setup.js
uuid.js
web_push_subscription.js