diff --git a/js/src/toast.js b/js/src/toast.js index cca6d553b0..f977c7ee3d 100644 --- a/js/src/toast.js +++ b/js/src/toast.js @@ -48,7 +48,7 @@ const DefaultType = { const Default = { animation: true, autohide: true, - delay: 500 + delay: 5000 } const SELECTOR_DATA_DISMISS = '[data-dismiss="toast"]' diff --git a/site/content/docs/5.0/components/toasts.md b/site/content/docs/5.0/components/toasts.md index 50d09478c8..ee8eba4585 100644 --- a/site/content/docs/5.0/components/toasts.md +++ b/site/content/docs/5.0/components/toasts.md @@ -309,7 +309,7 @@ Options can be passed via data attributes or JavaScript. For data attributes, ap delay number - 500 + 5000 Delay hiding the toast (ms) diff --git a/site/content/docs/5.0/migration.md b/site/content/docs/5.0/migration.md index 093e998195..fc8a8dc61f 100644 --- a/site/content/docs/5.0/migration.md +++ b/site/content/docs/5.0/migration.md @@ -24,6 +24,10 @@ toc: true - Renamed `whiteList` option to `allowList` +#### Toasts + +- Make default toast duration 5 seconds + #### Tooltips - Renamed `whiteList` option to `allowList`