aboutsummaryrefslogtreecommitdiff
path: root/docs/dist/js/bootstrap.js
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2016-11-26 00:40:17 -0800
committerMark Otto <[email protected]>2016-11-26 00:40:17 -0800
commite953d5d4f05fe2812defe1c2888bc6fe0b2f75e8 (patch)
treeb06c779bf6d2c80530d7c461daec9692924fe793 /docs/dist/js/bootstrap.js
parent3606c5b9c5b288f17b29ea451470b260d4c1f327 (diff)
downloadbootstrap-e953d5d4f05fe2812defe1c2888bc6fe0b2f75e8.tar.xz
bootstrap-e953d5d4f05fe2812defe1c2888bc6fe0b2f75e8.zip
grunt
Diffstat (limited to 'docs/dist/js/bootstrap.js')
-rw-r--r--docs/dist/js/bootstrap.js6
1 files changed, 1 insertions, 5 deletions
diff --git a/docs/dist/js/bootstrap.js b/docs/dist/js/bootstrap.js
index 3778498fa..67fae25e3 100644
--- a/docs/dist/js/bootstrap.js
+++ b/docs/dist/js/bootstrap.js
@@ -1549,11 +1549,7 @@ var Dropdown = function ($) {
return;
}
- var items = $.makeArray($(Selector.VISIBLE_ITEMS));
-
- items = items.filter(function (item) {
- return item.offsetWidth || item.offsetHeight;
- });
+ var items = $(parent).find(Selector.VISIBLE_ITEMS).get();
if (!items.length) {
return;