MCPcopy Create free account
hub / github.com/atomicon/codeigniter-theme / next

Function next

themes/default/js/bootstrap.js:1484–1504  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1482 && $active.hasClass('fade')
1483
1484 function next() {
1485 $active
1486 .removeClass('active')
1487 .find('> .dropdown-menu > .active')
1488 .removeClass('active')
1489
1490 element.addClass('active')
1491
1492 if (transition) {
1493 element[0].offsetWidth // reflow for transition
1494 element.addClass('in')
1495 } else {
1496 element.removeClass('fade')
1497 }
1498
1499 if ( element.parent('.dropdown-menu') ) {
1500 element.closest('li.dropdown').addClass('active')
1501 }
1502
1503 callback && callback()
1504 }
1505
1506 transition ?
1507 $active.one($.support.transition.end, next) :

Callers 1

bootstrap.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected