zulip/static
Tim Abbott 729c09074a js: Avoid href="#" for buttons with a JavaScript click handler.
As seen in
https://chat.zulip.org/#narrow/stream/9-issues/topic/edit.20history.20bug/near/1320430,
clicking such a link takes you to the user's default view if the click
handler throws an exception before doing preventDefault().

There hrefs also have the negative effect of having your browser claim
that clicking the link will navigate you to the default view, which it
won't.

Comes with a linter rule to prevent future instances, since it seems
there are some recently added ones, though they are likely the result
of copy/paste.
2022-02-08 17:38:12 -08:00
..
assets icons: Set font-display: block for icon font. 2021-08-23 15:59:54 -07:00
audio notificaiton_sounds: Add some atonal sounds created by @stwime. 2021-02-05 12:28:20 -08:00
generated
html templates: Mark all void tags as self-closing. 2021-04-21 09:49:34 -07:00
images policies: In DPA, add change history link and make a minor clarification. 2022-02-07 14:37:34 -08:00
js popovers: Offer edit history option for stream moves. 2022-02-08 17:27:37 -08:00
shared js: Avoid _.get. 2022-01-24 15:54:21 -08:00
styles status_emoji: Extract status emoji template. 2022-02-08 16:52:49 -08:00
templates js: Avoid href="#" for buttons with a JavaScript click handler. 2022-02-08 17:38:12 -08:00
third docs: Fix many spelling mistakes. 2022-02-07 18:51:06 -08:00
.gitignore dependencies: Replace moment.js with date-fns. 2021-02-05 11:04:32 -08:00