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.
23 lines
359 B
23 lines
359 B
semantic.grid = {};
|
|
|
|
// ready event
|
|
semantic.grid.ready = function() {
|
|
|
|
$('.animation.checkbox')
|
|
.checkbox({
|
|
onChecked: function() {
|
|
$('body').addClass('animated');
|
|
},
|
|
onUnchecked: function() {
|
|
$('body').removeClass('animated');
|
|
}
|
|
})
|
|
;
|
|
|
|
};
|
|
|
|
|
|
// attach ready event
|
|
$(document)
|
|
.ready(semantic.grid.ready)
|
|
;
|