HEX
Server: LiteSpeed
System: Linux server137.web-hosting.com 4.18.0-513.18.1.lve.el8.x86_64 #1 SMP Thu Feb 22 12:55:50 UTC 2024 x86_64
User: bibuzptr (1123)
PHP: 7.4.33
Disabled: NONE
Upload Files
File: //home/bibuzptr/elearning.bibu-edu.us/old/wp-content/plugins/thim-core/admin/assets/js/core.js
(function ($, settings) {
    window.Thim_Core = (function () {
        return {
            check_active: check_active
        };

        function check_active() {
            if (settings.active === 'yes' || settings.is_free === 'yes') {
                return true;
            }

            var theme = settings.theme;
            var envato_id = theme.envato_item_id || false;
            if (!envato_id) {
                return true;
            }

            $(window).trigger('thim_core_trigger_open_modal', 'tc-modal-activate-theme');

            return false;
        }
    })();
})(jQuery, window.thim_core_settings);