thelounge/client
Maxime Poulin 2ce374fe85 Fix uploader mount/unmount lifecycle
Currently, in `ChatInput.vue` we call `upload.abort()` which removes the event listeners, which are never added back. This effectively permanently disable uploads if the user navigates away to Settings or any other non-chat pages, and back.

Moves the binding to `mounted()` so that they're properly rebound when a chat window is in view, and also adds an `unmounted()` for clarity.

This should also fix an edge case if the page opens up on a non-chat page and there was never a ChatInput to unbind it, such as login page or add network pages.
2023-02-05 22:32:12 -05:00
..
audio Change alert sound from ogg to wav 2018-07-17 09:14:58 +03:00
components Fix uploader mount/unmount lifecycle 2023-02-05 22:32:12 -05:00
css style: Put user colors into the smallest possible scope 2022-11-27 16:04:56 +01:00
img Move favicon.ico to the root folder 2019-03-18 12:56:52 +02:00
js Fix uploader mount/unmount lifecycle 2023-02-05 22:32:12 -05:00
themes Fix Morning theme nick colors 2023-02-05 03:22:43 -05:00
favicon.ico Move favicon.ico to the root folder 2019-03-18 12:56:52 +02:00
index.html.tpl TypeScript and Vue 3 (#4559) 2022-06-18 17:25:21 -07:00
robots.txt Normalize line endings 2014-09-13 14:29:45 -07:00
service-worker.js TypeScript and Vue 3 (#4559) 2022-06-18 17:25:21 -07:00
shims-vue.d.ts TypeScript and Vue 3 (#4559) 2022-06-18 17:25:21 -07:00
thelounge.webmanifest Fix off-by-one color error in webmanifest 2020-04-19 20:46:37 -04:00
tsconfig.json Added client type checking to webpack (#4619) 2022-08-23 00:26:07 -07:00