Skip to content

Commit

Permalink
removed async language from warning notification
Browse files Browse the repository at this point in the history
  • Loading branch information
FireLemons committed Sep 27, 2023
1 parent 234e99c commit 41413b6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/assets/stylesheets/shared/notifier.scss
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
color: white
}

.async-warn-indicator {
.warn-indicator {
background-color: #ffc107;
}

Expand Down
4 changes: 2 additions & 2 deletions app/javascript/src/notifier.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,11 @@ module.exports = class Notifier {
break
case 'warn':
this.notificationsElement.append(`
<div class="async-warn-indicator">
<div class="warn-indicator">
${escapedMessage}
<button class="btn btn-warning btn-sm">×</button>
</div>`)
.find('.async-warn-indicator button').click(function () {
.find('.warn-indicator button').click(function () {
$(this).parent().remove()
})

Expand Down

0 comments on commit 41413b6

Please sign in to comment.