HEX
Server: Apache
System: Linux webm010.cluster127.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64
User: alloesb (202139)
PHP: 8.3.31
Disabled: _dyuweyrj4,_dyuweyrj4r,dl
Upload Files
File: /home/a/l/l/alloesb/www/wp-content/plugins/accesspress-social-share/js/backend.js
function removeMe(args){
jQuery('.'+args).html('');
}
(function ($) {
    $(function () {
        //all backend js goes here
        //sortable initialization
        $('.apps-opt-wrap').sortable({
            axis: 'y',
            containment: "parent",
            update:function(event,ui){
                        var profile_array = [];
                        $('.apss-option-wrapper input[type="checkbox"]').each(function(){
                        profile_array.push($(this).attr('data-key')) ;
                        });
                        var social_networks_orders = profile_array.join(',');
                        $('#apss_social_newtwork_order').val(social_networks_orders);
                    }
        });

        $( '.apss-tabs-trigger' ).click(function() {
            $( '.apss-tabs-trigger' ).removeClass( 'apss-active-tab' );
            $(this).addClass( 'apss-active-tab' );
            var board_id = 'tab-'+$(this).attr('id');
            $('.apss-tab-contents').hide();
            $('#'+board_id).show();
        });

        $('#apss_submit_settings').click(function() {
            var cache_period_val=$('#apss_cache_period').val();
            if($.isNumeric(cache_period_val)===true){ 
            }else{
                $('.invalid_cache_period').html("Please enter the integer value only.");
                $('.apss_cache_period').focus();
                return false;
            }
        });

        $('#counter_enable_options_y').click(function() {
            $('.apss-counter-api-options').show();
        });
        $('#counter_enable_options_n').click(function() {
            $('.apss-counter-api-options').hide();
        });

    });//document.ready close

}(jQuery));