Remove workaround for SeaMonkey < 2.35 Notification crash. #904

This commit is contained in:
ccd0 2016-05-17 03:17:54 -07:00
parent f2f6f1be6c
commit 386ebfbbb7
2 changed files with 25 additions and 29 deletions

View File

@ -131,8 +131,6 @@ Unread =
openNotification: (post) -> openNotification: (post) ->
return unless Header.areNotificationsEnabled return unless Header.areNotificationsEnabled
# XXX https://bugzilla.mozilla.org/show_bug.cgi?id=1130502 (SeaMonkey)
try
notif = new Notification "#{post.info.nameBlock} replied to you", notif = new Notification "#{post.info.nameBlock} replied to you",
body: post.info.commentDisplay body: post.info.commentDisplay
icon: Favicon.logo icon: Favicon.logo

View File

@ -206,8 +206,6 @@ QR =
unless Header.areNotificationsEnabled unless Header.areNotificationsEnabled
alert el.textContent if d.hidden and not QR.cooldown.auto alert el.textContent if d.hidden and not QR.cooldown.auto
else if d.hidden or not (focusOverride or d.hasFocus()) else if d.hidden or not (focusOverride or d.hasFocus())
# XXX https://bugzilla.mozilla.org/show_bug.cgi?id=1130502 (SeaMonkey)
try
notif = new Notification el.textContent, notif = new Notification el.textContent,
body: el.textContent body: el.textContent
icon: Favicon.logo icon: Favicon.logo