mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-06-08 17:22:31 +03:00
Use native pseudo-selectors instead of jQuery selectors (#24713)
This commit is contained in:
committed by
XhmikosR
parent
75bdc6d962
commit
5a2d6c70f4
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user