Lines Matching refs:length
116 if (!$parent.length) {
229 if ($parent.length) {
374 || (direction == 'next' && activeIndex == (this.$items.length - 1))
377 var itemIndex = (activeIndex + delta) % this.$items.length
385 if (pos > (this.$items.length - 1) || pos < 0) return
396 if (this.$element.find('.next, .prev').length && $.support.transition) {
437 if (this.$indicators.length) {
589 if (actives && actives.length) {
598 if (actives && actives.length) {
784 return $parent && $parent.length ? $parent : $this.parent()
819 if ('ontouchstart' in document.documentElement && !$parent.closest('.navbar-nav').length) {
865 if (!$items.length) return
870 if (e.which == 40 && index < $items.length - 1) index++ // down
995 if (!that.$element.parent().length) {
1061 !this.$element.has(e.target).length) {
1319 for (var i = triggers.length; i--;) {
1689 if (this.$tip.length != 1) {
1949 && $href.length
1974 return activeTarget != (i = targets[targets.length - 1]) && this.activate(i)
1982 for (i = offsets.length; i--;) {
2003 if (active.parent('.dropdown-menu').length) {
2129 && ($active.length && $active.hasClass('fade') || !!container.find('> .fade').length)
2152 if (element.parent('.dropdown-menu').length) {
2164 $active.length && transition ?