
 /**
 * =============================================================================
 * @package			    Blue Raven (Free Version)
 * @Plugin URI			https://enterrahost.com/plugins/blue-raven
 * 
 * @Author			    EnterraHost
 * @Author URI			https://enterrahost.com
 * @License			    GPL-2.0-or-later
 *  
 * @Copyright			(c) 2025 EnterraHost
 * @File Description	Settings Page
 * 
 * =============================================================================
 * 
 * || INDEX:
 * ||   - USER SETTINGS
 * || 
 * =============================================================================
 */

jQuery(function ($) {
    $(document)
    
/*
============================================================
    USER SETTINGS
============================================================
*/

    .on('click','#enable-etype-debuging', function(e) {
        const isChecked = $(this).is(':checked');
        BlueRaven_SettingsOperation(isChecked, 'update etype debugging');
    })
    .on('click','#enable-full-uninstaller', function(e) {
        const isChecked = $(this).is(':checked');
        BlueRaven_SettingsOperation(isChecked, 'enable full uninstaller');
    })
    .on('click', '#download-logs', function(e) {
        e.preventDefault();
        BlueRaven_SettingsOperation(true, 'download logs');
    });
});
