aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Young <[email protected]>2021-07-28 14:17:24 +0100
committerGitHub <[email protected]>2021-07-28 16:17:24 +0300
commit24e14c36e86536853d5103a82064e514393cf480 (patch)
treeff71222f60da5fde5ee46ab4699c769fd653e09c
parentfd9285bc9cdbfbf85ad9d7a1dc5a8acb81f162ea (diff)
downloadbootstrap-24e14c36e86536853d5103a82064e514393cf480.tar.xz
bootstrap-24e14c36e86536853d5103a82064e514393cf480.zip
Correct Toast docs (#34604)
Removes incorrect references to scrollspy in Toasts documentation
-rw-r--r--site/content/docs/5.0/components/toasts.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/site/content/docs/5.0/components/toasts.md b/site/content/docs/5.0/components/toasts.md
index 609a88749..dc9501b67 100644
--- a/site/content/docs/5.0/components/toasts.md
+++ b/site/content/docs/5.0/components/toasts.md
@@ -411,7 +411,7 @@ toast.dispose()
#### getInstance
-*Static* method which allows you to get the scrollspy instance associated with a DOM element
+*Static* method which allows you to get the toast instance associated with a DOM element
```js
var myToastEl = document.getElementById('myToastEl')
@@ -420,7 +420,7 @@ var myToast = bootstrap.Toast.getInstance(myToastEl) // Returns a Bootstrap toas
#### getOrCreateInstance
-*Static* method which allows you to get the scrollspy instance associated with a DOM element, or create a new one in case it wasn't initialised
+*Static* method which allows you to get the toast instance associated with a DOM element, or create a new one in case it wasn't initialised
```js
var myToastEl = document.getElementById('myToastEl')