zulip/static
sahil839 7489213768 modals: Do not remove modal element from DOM after closing the modal.
This commit changes the code to not remove the modal element from DOM
after closing the modal for the deactivation stream modal and stream
privacy modal.

This is a prep commit for enabling background mouse events
unconditionally using 'hidden.bs.modal', because removing element
using '.remove' remove all events attached to it and this will also
remove the 'hidden.bs.modal' event which we do not want.

This remove behavior is inconsistent as we remove some of the modals
but do not remove some, so for now we are not removing the modal
after closing but it is anyway removed before opening a modal to handle
case of having two elements of same id and avoids any bugs.
This behavior of when to remove the element from DOM and when to not
remove needs to be discussed and may be modified in future.
2021-03-30 17:02:46 -07:00
..
assets eslint: Forbid CommonJS variables in ES6 modules. 2021-03-23 01:42:43 -07:00
audio notificaiton_sounds: Add some atonal sounds created by @stwime. 2021-02-05 12:28:20 -08:00
generated
html logo: Update Zulip logo. 2020-07-16 01:37:08 -07:00
images markdown: Extend user mention syntax to support user_id for mentioning. 2021-03-25 00:44:56 -07:00
js modals: Do not remove modal element from DOM after closing the modal. 2021-03-30 17:02:46 -07:00
shared js: Simplify code using default parameters and destructuring. 2021-03-26 09:21:46 -07:00
styles edit_bot: Fix dropdown username capitalization. 2021-03-30 16:14:42 -07:00
templates streams: Show warning when unsubscribing a private stream. 2021-03-30 17:02:44 -07:00
third markdown: Add support to shorten GitHub links. 2021-03-25 00:39:44 -07:00
.gitignore dependencies: Replace moment.js with date-fns. 2021-02-05 11:04:32 -08:00