HEX
Server: Apache
System: Linux WWW 6.1.0-40-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.153-1 (2025-09-20) x86_64
User: web11 (1011)
PHP: 8.2.29
Disabled: NONE
Upload Files
File: /var/www/studis.kauko.lt/wp-content/plugins/wp-statistics/assets/dev/javascript/meta-box/post.js
wps_js.post_meta_box = {
    params: function () {
        return { 'ID': wps_js.global['page']['ID'] };
    },

    view: function (args = []) {
        return args.hasOwnProperty('content') ?
            ' <div class="wps-center" style="padding: 15px;"> ' + args['content'] + '</div>' : ' <div class="wps-wrap"> ' + args['visitors']  + '</div>';
    },

    meta_box_init: function (args = []) {
        if (args.hasOwnProperty('content')) {
            jQuery("#" + wps_js.getMetaBoxKey('post') + " button[onclick]").remove();
        }
    },
};