Skip to content

Commit

Permalink
Merge pull request #347 from Ssredna/fix-click-event
Browse files Browse the repository at this point in the history
fix: fixes mapping on snoretoast activate event, fixes #291
  • Loading branch information
mikaelbr authored Oct 28, 2020
2 parents 1c9d956 + 377b4d4 commit e55bd8f
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions notifiers/toaster.js
Original file line number Diff line number Diff line change
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 e55bd8f

Please sign in to comment.