From 27e080df4b80791860624ba17d4b57608200d5e0 Mon Sep 17 00:00:00 2001 From: Chris Rebert Date: Sun, 2 Feb 2014 22:51:19 -0800 Subject: [PATCH] fix #12527 --- docs/javascript.html | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/javascript.html b/docs/javascript.html index e022767e32..8932ff295a 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 required

+

Regardless 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.

+

Options

None