periodical/js/toggle.js

9 lines
172 B
JavaScript

$(function() {
$('#periodical').parent().children('label').toggleWithLegend(
$('#periodical'),
{
user_pref: 'dcx_post_periodical',
legend_click: true
}
);
});