Skip to content

Commit

Permalink
fix: fixes mapping on snoretoast activate event, fixes #291
Browse files Browse the repository at this point in the history
  • Loading branch information
ssredna committed Oct 28, 2020
1 parent 1c9d956 commit 377b4d4
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions notifiers/toaster.js
Expand Up @@ -109,11 +109,8 @@ function notifyRaw(options, callback) {
var actionJackedCallback = (err) =>
snoreToastResultParser(
err,
utils.actionJackerDecorator(
this,
options,
callback,
(data) => data || false
utils.actionJackerDecorator(this, options, callback, (data) =>
data === 'activate' ? 'click' : data || false
)
);

Expand Down

0 comments on commit 377b4d4

Please sign in to comment.