2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-05 16:42:29 +03:00
This commit is contained in:
Mark Otto
2016-11-26 00:40:17 -08:00
parent 3606c5b9c5
commit e953d5d4f0
14 changed files with 48 additions and 26 deletions
+1 -5
View File
@@ -223,11 +223,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;
+1 -1
View File
File diff suppressed because one or more lines are too long