From 8006203e471e5c2a82f257cff848b8dfc6e397f6 Mon Sep 17 00:00:00 2001 From: "louismaxime.piton" Date: Thu, 31 Mar 2022 17:45:25 +0200 Subject: Doc fixes --- site/content/docs/5.1/components/alerts.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'site/content/docs/5.1/components/alerts.md') diff --git a/site/content/docs/5.1/components/alerts.md b/site/content/docs/5.1/components/alerts.md index 32df609f5b..694b749bd4 100644 --- a/site/content/docs/5.1/components/alerts.md +++ b/site/content/docs/5.1/components/alerts.md @@ -224,7 +224,7 @@ This makes an alert listen for click events on descendant elements which have th | `close` | Closes an alert by removing it from the DOM. If the `.fade` and `.show` classes are present on the element, the alert will fade out before it is removed. | | `dispose` | Destroys an element's alert. (Removes stored data on the DOM element) | | `getInstance` | Static method which allows you to get the alert instance associated to a DOM element. For example: `bootstrap.Alert.getInstance(alert)`. | -| `getOrCreateInstance` | Static method which returns an alert instance associated to a DOM element or create a new one in case it wasn't initialized. You can use it like this: bootstrap.Alert.getOrCreateInstance(element). | +| `getOrCreateInstance` | Static method which returns an alert instance associated to a DOM element or create a new one in case it wasn't initialized. You can use it like this: `bootstrap.Alert.getOrCreateInstance(element)`. | {{< /bs-table >}} Basic usage: -- cgit v1.2.3