- WordPress core y plugins - Tema Twenty Twenty-Four configurado - Plugin allow-unfiltered-html.php simplificado - .gitignore configurado para excluir wp-config.php y uploads 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
31 lines
812 B
JavaScript
Executable File
31 lines
812 B
JavaScript
Executable File
(function($){
|
|
|
|
/**
|
|
* Visability Options.
|
|
*/
|
|
window.termsOptions = {
|
|
|
|
init: function() {
|
|
this.initOptions();
|
|
},
|
|
|
|
initOptions: function() {
|
|
var self = this;
|
|
|
|
$("#opanda_agreement_checkbox").change(function(){
|
|
console.log('fff');
|
|
if ( $(this).is(":checked") ) {
|
|
$("#onp-sl-agreement_checkbox-options").hide().removeClass('hide');
|
|
$("#onp-sl-agreement_checkbox-options").fadeIn();
|
|
} else {
|
|
$("#onp-sl-agreement_checkbox-options").hide();
|
|
}
|
|
});
|
|
}
|
|
};
|
|
|
|
$(function(){
|
|
window.termsOptions.init();
|
|
});
|
|
|
|
})(jQuery); |