Skip to content

Commit b5bc8e6

Browse files
committed
Autohide toast notifications
1 parent 2de461c commit b5bc8e6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/assets/javascripts/page.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ $(document).on("turbolinks:load", function() {
1919
function new_toast(title, body, url) {
2020
var toast = $(
2121
"<div class=toast role=alert aria-live=assertive aria-atomic=true " +
22-
"data-autohide=false data-delay=30000></div>"
22+
"data-autohide=true data-delay=300000></div>"
2323
);
2424
toast.append($(
2525
"<div class=toast-header>" +

0 commit comments

Comments
 (0)