mirror of
https://github.com/zulip/zulip.git
synced 2025-11-15 03:11:54 +00:00
Document how our desktop notifications work.
(imported from commit 991d7541283d7d8d17836f5322abb0da780eba25)
This commit is contained in:
@@ -1261,6 +1261,19 @@ $(function () {
|
||||
ui.wait_for_gravatar();
|
||||
});
|
||||
|
||||
var notification_docs = $("#notification-docs");
|
||||
notification_docs.popover({"placement": "right",
|
||||
"content": templates.render('notification_docs'),
|
||||
"trigger": "manual"});
|
||||
$("body").on("mouseover", "#notification-docs", function (e) {
|
||||
notification_docs.popover('show');
|
||||
e.stopPropagation();
|
||||
});
|
||||
$("body").on("mouseout", "#notification-docs", function (e) {
|
||||
notification_docs.popover('hide');
|
||||
e.stopPropagation();
|
||||
});
|
||||
|
||||
$('body').on('click', '.edit_subject', function (e) {
|
||||
var row = rows.get(rows.id($(this).closest(".recipient_row")),
|
||||
current_msg_list.table_name);
|
||||
|
||||
Reference in New Issue
Block a user