]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Correct Toast docs (#34604)
authorMark Young <tip2tail@users.noreply.github.com>
Wed, 28 Jul 2021 13:17:24 +0000 (14:17 +0100)
committerGitHub <noreply@github.com>
Wed, 28 Jul 2021 13:17:24 +0000 (16:17 +0300)
Removes incorrect references to scrollspy in Toasts documentation

site/content/docs/5.0/components/toasts.md

index 609a887496ab8d97f3acacacbd5e560dcb52ae2b..dc9501b67734933443c2ee4708590ed84c8fdef2 100644 (file)
@@ -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')