Files
roi-theme/wp-content/plugins/advanced-ads/assets/src/admin/screen-dashboard/index.js
root a22573bf0b Commit inicial - WordPress Análisis de Precios Unitarios
- 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>
2025-11-03 21:04:30 -06:00

22 lines
443 B
JavaScript
Executable File

import jQuery from 'jquery';
import welcome from './welcome';
import addonBox from './addon-box';
import backupAdstxt from './backup-adstxt';
jQuery(() => {
welcome();
jQuery('#advads-overview').on('click', '.notice-dismiss', function (event) {
event.preventDefault();
const button = jQuery(this);
const notice = button.parent();
notice.fadeOut(500, function () {
notice.remove();
});
});
addonBox();
backupAdstxt();
});