Merge branch 'v3' of https://github.com/zixaphir/appchan-x
This commit is contained in:
commit
60ad20f6a5
@ -4979,7 +4979,7 @@
|
||||
if (!Header.areNotificationsEnabled) {
|
||||
return;
|
||||
}
|
||||
notif = new Notice('Quick reply warning', {
|
||||
notif = new Notification(el.textContent, {
|
||||
body: el.textContent,
|
||||
icon: Favicon.logo
|
||||
});
|
||||
@ -8231,7 +8231,7 @@
|
||||
return;
|
||||
}
|
||||
name = Conf['Anonymize'] ? 'Anonymous' : $('.nameBlock', post.nodes.info).textContent.trim();
|
||||
notif = new Notice("" + name + " replied to you", {
|
||||
notif = new Notification("" + name + " replied to you", {
|
||||
body: post.info.comment,
|
||||
icon: Favicon.logo
|
||||
});
|
||||
|
||||
@ -4982,7 +4982,7 @@
|
||||
if (!Header.areNotificationsEnabled) {
|
||||
return;
|
||||
}
|
||||
notif = new Notice('Quick reply warning', {
|
||||
notif = new Notification(el.textContent, {
|
||||
body: el.textContent,
|
||||
icon: Favicon.logo
|
||||
});
|
||||
@ -8216,7 +8216,7 @@
|
||||
return;
|
||||
}
|
||||
name = Conf['Anonymize'] ? 'Anonymous' : $('.nameBlock', post.nodes.info).textContent.trim();
|
||||
notif = new Notice("" + name + " replied to you", {
|
||||
notif = new Notification("" + name + " replied to you", {
|
||||
body: post.info.comment,
|
||||
icon: Favicon.logo
|
||||
});
|
||||
|
||||
@ -100,7 +100,7 @@ Unread =
|
||||
'Anonymous'
|
||||
else
|
||||
$('.nameBlock', post.nodes.info).textContent.trim()
|
||||
notif = new Notice "#{name} replied to you",
|
||||
notif = new Notification "#{name} replied to you",
|
||||
body: post.info.comment
|
||||
icon: Favicon.logo
|
||||
notif.onclick = ->
|
||||
|
||||
@ -154,7 +154,7 @@ QR =
|
||||
notice = new Notice 'warning', el
|
||||
QR.notifications.push notice
|
||||
return unless Header.areNotificationsEnabled
|
||||
notif = new Notice 'Quick reply warning',
|
||||
notif = new Notification el.textContent,
|
||||
body: el.textContent
|
||||
icon: Favicon.logo
|
||||
notif.onclick = -> window.focus()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user