mirror of
https://github.com/zulip/zulip.git
synced 2026-07-15 21:03:26 +08:00
Zulip 服务器和 Web 应用程序。开源团队聊天可帮助团队保持高效和专注。
We had this problem where clicking a hyperlink bubbles up and causes a click on the message, which causes the composebox to open. We "fixed" this by setting cancelBubble (or, even better, calling stopPropagation()). Unfortunately, on Firefox, this fix breaks Ctrl-click and Shift-click, because those are (apparently) implemented by adding an event listener on link clicks, and stopPropagation prevents them from being called. We instead work around this by handling this case in the click handler of the parent element. (This allows the normal URL click AND Firefox's bound event handlers for Ctrl and Shift to run.) This resolves Trac #374. (imported from commit 16fb3aa6fc582f1fba5009812e0b1178ce7c5bb7) |
||
|---|---|---|
| api | ||
| certs | ||
| confirmation | ||
| humbug | ||
| servers | ||
| templates | ||
| tools | ||
| zephyr | ||
| .gitignore | ||
| manage.py | ||