mirror of
https://github.com/zulip/zulip.git
synced 2025-11-09 00:18:12 +00:00
Add webkit desktop notifications
Partially addresses Trac #31 (imported from commit f1f04b5c50bf9f33b69c90926fd67015cd2dc219)
This commit is contained in:
@@ -412,6 +412,10 @@ $(function () {
|
||||
}
|
||||
update_gravatars();
|
||||
|
||||
if (result.enable_desktop_notifications !== undefined) {
|
||||
desktop_notifications_enabled = result.enable_desktop_notifications;
|
||||
}
|
||||
|
||||
settings_status.removeClass(status_classes)
|
||||
.addClass('alert-success')
|
||||
.text(message).stop(true).fadeTo(0,1);
|
||||
@@ -473,6 +477,7 @@ $(function () {
|
||||
|
||||
composebox_typeahead.initialize();
|
||||
search.initialize();
|
||||
notifications.initialize();
|
||||
|
||||
$("body").bind('click', function() {
|
||||
ui.hide_userinfo_popover();
|
||||
|
||||
Reference in New Issue
Block a user