From 4ebfbad9c799dd811d30ddc4a167e5525b174da1 Mon Sep 17 00:00:00 2001 From: Bootstrap's Grunt bot Date: Wed, 28 Jan 2015 19:02:08 +0000 Subject: automatic grunt dist --- dist/js/bootstrap.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dist/js/bootstrap.js') diff --git a/dist/js/bootstrap.js b/dist/js/bootstrap.js index 829e82e2b..2fa245c91 100644 --- a/dist/js/bootstrap.js +++ b/dist/js/bootstrap.js @@ -2078,7 +2078,7 @@ if (typeof jQuery === 'undefined') { element.removeClass('fade') } - if (element.parent('.dropdown-menu')) { + if (element.parent('.dropdown-menu').length) { element .closest('li.dropdown') .addClass('active') -- cgit v1.2.3