diff options
| author | Vasilii Artemchuk <[email protected]> | 2017-11-09 08:51:19 +0300 |
|---|---|---|
| committer | XhmikosR <[email protected]> | 2017-11-09 07:51:19 +0200 |
| commit | 5a2d6c70f4115dee7edfa713f4ff2c2f2cef24da (patch) | |
| tree | ce43f343e957ff6810f869e92a6aaba08d0400a9 /docs/4.0/components/alerts.md | |
| parent | 75bdc6d96213a78991a6660d7275597431432270 (diff) | |
| download | bootstrap-5a2d6c70f4115dee7edfa713f4ff2c2f2cef24da.tar.xz bootstrap-5a2d6c70f4115dee7edfa713f4ff2c2f2cef24da.zip | |
Use native pseudo-selectors instead of jQuery selectors (#24713)
Diffstat (limited to 'docs/4.0/components/alerts.md')
| -rw-r--r-- | docs/4.0/components/alerts.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/4.0/components/alerts.md b/docs/4.0/components/alerts.md index aa6dfbecc..4ad1d0dea 100644 --- a/docs/4.0/components/alerts.md +++ b/docs/4.0/components/alerts.md @@ -73,7 +73,7 @@ You can see this in action with a live demo: Enable dismissal of an alert via JavaScript: {% highlight js %} -$(".alert").alert() +$('.alert').alert() {% endhighlight %} Or with `data` attributes on a button **within the alert**, as demonstrated above: |
