diff --git a/docs/javascript.html b/docs/javascript.html index e022767e3..8932ff295 100644 --- a/docs/javascript.html +++ b/docs/javascript.html @@ -548,6 +548,10 @@ $('#myModal').on('hidden.bs.modal', function (e) { {% highlight js %} $('.dropdown-toggle').dropdown() {% endhighlight %} +
data-toggle="dropdown" still requiredRegardless of whether you call your dropdown via JavaScript or instead use the data-api, data-toggle="dropdown" is always required to be present on the dropdown's trigger element.
None