Skip to content

Commit e55bd8f

Browse files
authored
Merge pull request #347 from Ssredna/fix-click-event
fix: fixes mapping on snoretoast activate event, fixes #291
2 parents 1c9d956 + 377b4d4 commit e55bd8f

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

notifiers/toaster.js

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -109,11 +109,8 @@ function notifyRaw(options, callback) {
109109
var actionJackedCallback = (err) =>
110110
snoreToastResultParser(
111111
err,
112-
utils.actionJackerDecorator(
113-
this,
114-
options,
115-
callback,
116-
(data) => data || false
112+
utils.actionJackerDecorator(this, options, callback, (data) =>
113+
data === 'activate' ? 'click' : data || false
117114
)
118115
);
119116

0 commit comments

Comments
 (0)