You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

32 lines
473 B

semantic.accordion = {};
// ready event
semantic.accordion.ready = function() {
// selector cache
var
$accordion = $('.ui.accordion'),
$menuAccordion = $('.ui.menu.accordion'),
$checkbox = $('.ui.checkbox'),
// alias
handler
;
$accordion
.accordion()
;
$menuAccordion
.accordion({
exclusive: false
})
;
$checkbox
.checkbox()
;
};
// attach ready event
$(document)
.ready(semantic.accordion.ready)
;