mirror of
https://github.com/discourse/discourse.git
synced 2024-11-24 13:38:49 +08:00
d8bf926d2d
When we use the escape key to exit lightbox for images within a chat channel, it also closes the chat drawer due to event bubbling (since both lightbox and chat use an event listener on the escape key). This change prevents event bubbling when using the escape key within lightbox, which means that it will close the lightbox but won't close the chat drawer. |
||
---|---|---|
.. | ||
assets | ||
controllers | ||
helpers | ||
jobs | ||
mailers | ||
models | ||
serializers | ||
services | ||
views |