mirror of https://github.com/zulip/zulip.git
a78a1ec36c
The main user-facing feature here is that users can open narrows in new tabs or windows. Internally, it makes the HTML more semantic. One consequence of making these elements into actual anchor tags is that clicking on them no longer triggers this logic to close the compose box when you click outside of it: // Unfocus our compose area if we click out of it. Don't let exits out // of modals or selecting text (for copy+paste) trigger cancelling. if (compose.composing() && !$(e.target).is("a") && ($(e.target).closest(".modal").length === 0) && window.getSelection().toString() === "") { compose.cancel(); } Instead of patching the above code, I elected to just call compose.cancel() explicitly in the click handlers for the links themselves. We are gonna try to clean up the compose-box behavior globally soon. (imported from commit c9a01916f1714fe3dd495d25c78cd5e5532105ef) |
||
---|---|---|
.. | ||
activity.css | ||
fonts.css | ||
portico.css | ||
pygments.css | ||
thirdparty-fonts.css | ||
zulip.css |