HEX
Server: Apache
System: Linux efa57bbe-abb1-400d-2985-3b056fbc2701.secureserver.net 6.1.147-1.el9.elrepo.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Jul 24 12:33:32 EDT 2025 x86_64
User: root (0)
PHP: 8.0.30.4
Disabled: NONE
Upload Files
File: /var/www/wp-content/plugins/ocean-extra/includes/freemius/templates/api-connectivity-message-js.php
<?php
    /**
     * @package   Freemius
     * @copyright Copyright (c) 2015, Freemius, Inc.
     * @license   https://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3
     * @since     2.5.4
     */
    if ( ! defined( 'ABSPATH' ) ) {
        exit;
    }
?>
<script type="text/javascript">
    ( function( $ ) {
        $( document ).ready(function() {
            var $parent = $( '.fs-notice, #fs_connect, .fs-modal' );

            $parent.on( 'click', '.fs-api-request-error-show-details-link', function () {
                var $error_details_container = $parent.find( '.fs-api-request-error-details' );

                $error_details_container.toggle();

                $( this ).find( 'span' ).prop( 'class',
                    $error_details_container.is( ':visible' ) ?
                        'dashicons dashicons-arrow-up-alt2' :
                        'dashicons dashicons-arrow-down-alt2'
                );

                return false;
            } );
        } );
    } )( jQuery );
</script>