Lines Matching refs:length
59 if (!$parent.length) {
172 if ($parent.length) {
317 || (direction == 'next' && activeIndex == (this.$items.length - 1))
320 var itemIndex = (activeIndex + delta) % this.$items.length
328 if (pos > (this.$items.length - 1) || pos < 0) return
339 if (this.$element.find('.next, .prev').length && $.support.transition) {
380 if (this.$indicators.length) {
514 return $parent && $parent.length ? $parent : $this.parent()
549 if ('ontouchstart' in document.documentElement && !$parent.closest('.navbar-nav').length) {
595 if (!$items.length) return
600 if (e.which == 40 && index < $items.length - 1) index++ // down
725 if (!that.$element.parent().length) {
791 !this.$element.has(e.target).length) {
1049 for (var i = triggers.length; i--;) {
1419 if (this.$tip.length != 1) {
1686 && ($active.length && $active.hasClass('fade') || !!container.find('> .fade').length)
1709 if (element.parent('.dropdown-menu').length) {
1721 $active.length && transition ?
1987 if (actives && actives.length) {
1996 if (actives && actives.length) {
2211 && $href.length
2236 return activeTarget != (i = targets[targets.length - 1]) && this.activate(i)
2244 for (i = offsets.length; i--;) {
2265 if (active.parent('.dropdown-menu').length) {