Lines Matching refs:length
97 if (!$parent.length) {
209 if ($parent.length) {
344 || (direction == 'next' && activeIndex == (this.$items.length - 1))
347 var itemIndex = (activeIndex + delta) % this.$items.length
355 if (pos > (this.$items.length - 1) || pos < 0) return
366 if (this.$element.find('.next, .prev').length && $.support.transition) {
407 if (this.$indicators.length) {
557 if (actives && actives.length) {
566 if (actives && actives.length) {
752 if ('ontouchstart' in document.documentElement && !$parent.closest('.navbar-nav').length) {
795 if (!$items.length) return
800 if (e.which == 40 && index < $items.length - 1) index++ // down
835 return $parent && $parent.length ? $parent : $this.parent()
948 if (!that.$element.parent().length) {
1013 if (this.$element[0] !== e.target && !this.$element.has(e.target).length) {
1259 for (var i = triggers.length; i--;) {
1853 && $href.length
1878 return activeTarget != (i = targets[targets.length - 1]) && this.activate(i)
1886 for (i = offsets.length; i--;) {
1907 if (active.parent('.dropdown-menu').length) {
2030 && (($active.length && $active.hasClass('fade')) || !!container.find('> .fade').length)
2065 $active.length && transition ?