PDF rausgenommen
This commit is contained in:
20
msd2/wordpress/wp-content/plugins/antispam-bee/js/scripts.js
Normal file
20
msd2/wordpress/wp-content/plugins/antispam-bee/js/scripts.js
Normal file
@ -0,0 +1,20 @@
|
||||
jQuery(document).ready(
|
||||
function($) {
|
||||
function ab_flag_spam() {
|
||||
var $$ = $('#ab_flag_spam'),
|
||||
nextAll = $$.parent('li').nextAll( '.ab_flag_spam_child' );
|
||||
|
||||
nextAll.css(
|
||||
'display',
|
||||
( $$.is(':checked') ? 'list-item' : 'none' )
|
||||
);
|
||||
}
|
||||
|
||||
$('#ab_flag_spam').on(
|
||||
'change',
|
||||
ab_flag_spam
|
||||
);
|
||||
|
||||
ab_flag_spam();
|
||||
}
|
||||
);
|
Reference in New Issue
Block a user