Skip to content

Commit

Permalink
use notification
Browse files Browse the repository at this point in the history
  • Loading branch information
mawinter69 committed Oct 1, 2024
1 parent 9da23b4 commit 99ab03d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Behaviour.specify(
headers: crumb.wrap({}),
}).then((rsp) => {
if (rsp.ok) {
hoverNotification(message, this, -100);
notificationBar.show(message,notificationBar.SUCCESS);
} else {
notificationBar.show(failure, notificationBar.ERROR)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
headers: crumb.wrap({}),
}).then((rsp) => {
if (rsp.ok) {
hoverNotification(success, ev.target.parentNode);
notificationBar.show(success,notificationBar.SUCCESS);
} else {
notificationBar.show(failure, notificationBar.ERROR)
}
Expand Down

0 comments on commit 99ab03d

Please sign in to comment.