diff options
author | louismaxime.piton <louismaxime.piton@orange.com> | 2022-03-31 18:45:25 +0300 |
---|---|---|
committer | Mark Otto <otto@github.com> | 2022-04-01 00:27:09 +0300 |
commit | 8006203e471e5c2a82f257cff848b8dfc6e397f6 (patch) | |
tree | cee2410fcbf6e6f8856e0a395a05e2340556bd8c /site/content/docs/5.1/components/alerts.md | |
parent | 53fe10716a2df52293c9b25dc5b0eeec5f5df120 (diff) |
Doc fixes
Diffstat (limited to 'site/content/docs/5.1/components/alerts.md')
-rw-r--r-- | site/content/docs/5.1/components/alerts.md | 2 |
1 files changed, 1 insertions, 1 deletions
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: <code>bootstrap.Alert.getOrCreateInstance(element)</code>. | +| `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: |