diff --git a/javascript.html b/javascript.html index a0e96c1c63..d7cc4c7a36 100644 --- a/javascript.html +++ b/javascript.html @@ -449,6 +449,7 @@ $('#myModal').on('hidden.bs.modal', function () {
Via data attributes or JavaScript, the dropdown plugin toggles hidden content (dropdown menus) by toggling the .open
class on the parent list item. When opened, the plugin also adds .dropdown-backdrop
as a click area for closing dropdown menus when clicking outside the menu.
Add data-toggle="dropdown"
to a link or button to toggle a dropdown.