%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /home/eirtvhdf/cloudsslamllc.com/wp-content/plugins/auxin-the-news/public/assets/js/
Upload File :
Create Path :
Current File : //home/eirtvhdf/cloudsslamllc.com/wp-content/plugins/auxin-the-news/public/assets/js/news.js

(function($) {
    /* Auxin Ajax Filter */
    $(".auxin-news-element li[data-filter]").click(function(e) {
        e.preventDefault();
        var $this = $(this),
            $parent = $this
                .parents(".aux-ajax-view")
                .addClass("aux-ajax-progress"),
            data = {
                term: $this.data("filter"),
                action: "news_filter_get_content",
                args: eval($parent.data("element-id") + "AjaxConfig"),
                n: $(".aux-ajax-filters").data("n")
            };

        $.post(auxnew.ajax_url, data, function(res) {
            if (res) {
                $parent
                    .removeClass("aux-ajax-progress")
                    .find(".aux-news-element-main")
                    .html(res);
            } else {
                console.log(res);
            }
        });
    });
})(jQuery);

Zerion Mini Shell 1.0