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.
 
 
 

35 lines
460 B

semantic.modal = {};
// ready event
semantic.modal.ready = function() {
// selector cache
var
// alias
handler
;
// event handlers
handler = {
};
$('.selection')
.dropdown({
onChange: function(value) {
$('.test.modal')
.modal('setting', 'transition', value)
.modal('show')
;
}
})
;
};
// attach ready event
$(document)
.ready(semantic.modal.ready)
;