add sticky notf (#49)

This commit is contained in:
Lynn
2017-03-29 20:11:08 -07:00
committed by GitHub
parent be655b3076
commit 7989bcc044
5 changed files with 38 additions and 22 deletions

View File

@@ -98,7 +98,7 @@ function setContents(notificationObj) {
let closeButton = notiDoc.getElementById('close');
// note: use onclick because we only want one handler, for case
// when content gets overwritten by notf with same groupId
// when content gets overwritten by notf with same tag
closeButton.onclick = function(clickEvent) {
clickEvent.stopPropagation()
ipc.send('electron-notify-close', winId, notificationObj)