PATH:
home
/
letacommog
/
seneve10
/
wp-content
/
plugins
/
wpdiscuz
/
assets
/
js
jQuery(document).ready(function(e){var t=0,d=parseInt(wpdiscuzAjaxObj.isNativeAjaxEnabled),n=parseInt(wpdiscuzUCObj.additionalTab);e(document).delegate(".wpd-info,.wpd-page-link,.wpd-delete-content,.wpd-user-email-delete-links","click",function(e){e.preventDefault()}),e(document).delegate(".wpd-info.wpd-not-clicked","click",function(t){var a=e(this);a.removeClass("wpd-not-clicked");var i=new FormData;return i.append("action","wpdGetInfo"),function(t,a){var i=e(".fas",t),o=i.attr("class");i.removeClass(),i.addClass("fas fa-pulse fa-spinner"),wpdiscuzAjaxObj.getAjaxObj(d||n,!1,a).done(function(d){t.addClass("wpd-not-clicked"),i.removeClass(),i.addClass(o),d&&(e("#wpdUserContentInfo").html(d),e("#wpdUserContentInfo ul.wpd-list .wpd-list-item:first-child").addClass("wpd-active"),e("#wpdUserContentInfo div.wpd-content .wpd-content-item:first-child").addClass("wpd-active"),e("#wpdUserContentInfo").is(":visible")||e("#wpdUserContentInfoAnchor").trigger("click"))})}(a,i),!1}),e(document).delegate(".wpd-list-item","click",function(){var t=e("input.wpd-rel",this).val();e("#wpdUserContentInfo .wpd-list-item").removeClass("wpd-active"),e("#wpdUserContentInfo .wpd-content-item").removeClass("wpd-active");var a=e(this);if(e("#wpdUserContentInfo #"+t).text().length)a.addClass("wpd-active"),e("#wpdUserContentInfo #"+t).addClass("wpd-active");else{var i=new FormData;i.append("action",a.attr("data-action")),i.append("page",0),e("#wpdUserContentInfo #"+t).addClass("wpd-active"),e("#wpdUserContentInfo #"+t).css("text-align","center"),wpdiscuzAjaxObj.getAjaxObj(d||n,!0,i).done(function(d){d&&(e("#wpdUserContentInfo #"+t).css("text-align",""),a.addClass("wpd-active"),e("#wpdUserContentInfo #"+t).html(d)),e("#wpdiscuz-loading-bar").hide()})}}),e(document).delegate(".wpd-page-link.wpd-not-clicked","click",function(t){var a=e(this);a.removeClass("wpd-not-clicked");var i=a.data("wpd-page"),o=e(".wpd-active .wpd-pagination .wpd-action").val(),s=new FormData;s.append("action",o),s.append("page",i),wpdiscuzAjaxObj.getAjaxObj(d||n,!0,s).done(function(t){a.addClass("wpd-not-clicked"),t&&e(".wpd-content-item.wpd-active").html(t),e("#wpdiscuz-loading-bar").hide()})}),e(document).delegate(".wpd-delete-content.wpd-not-clicked","click",function(){var a=e(this),i=parseInt(a.data("wpd-content-id"));if(!isNaN(i)){var o=a.data("wpd-delete-action");if("wpdDeleteComment"==o&&!confirm(wpdiscuzUCObj.msgConfirmDeleteComment))return!1;if("wpdCancelSubscription"==o&&!confirm(wpdiscuzUCObj.msgConfirmCancelSubscription))return!1;if("wpdCancelFollow"==o&&!confirm(wpdiscuzUCObj.msgConfirmCancelFollow))return!1;var s=e("i",a),c=s.attr("class"),l=e(".wpd-wrapper .wpd-page-number").val(),p=e(".wpd-content-item.wpd-active").children(".wpd-item").length;a.removeClass("wpd-not-clicked"),s.removeClass().addClass("fas fa-pulse fa-spinner"),1==p&&l>0&&(l-=1);var w=new FormData;w.append("id",i),w.append("page",l),w.append("action",o),wpdiscuzAjaxObj.getAjaxObj(d||n,!1,w).done(function(d){a.addClass("wpd-not-clicked"),s.removeClass().addClass(c),e(".wpd-content-item.wpd-active").html(d),t=1})}}),e(document).delegate("[data-lity-close]","click",function(d){e(d.target).is("[data-lity-close]")&&t&&window.location.reload(!0)}),e(document).delegate(".wpd-user-email-delete-links.wpd-not-clicked","click",function(){var t=e(this);t.removeClass("wpd-not-clicked"),e(".wpd-loading",t).addClass("wpd-show");var a=new FormData;a.append("action","wpdEmailDeleteLinks"),wpdiscuzAjaxObj.getAjaxObj(d||n,!1,a).done(function(d){t.addClass("wpd-not-clicked"),e("[data-lity-close]",window.parent.document).trigger("click")})}),e(document).delegate(".wpd-user-settings-button.wpd-not-clicked","click",function(){var t=e(this);t.removeClass("wpd-not-clicked");var a=t.data("wpd-delete-action");if(console.log(a),"deleteCookies"!==a){t.find(".wpd-loading").addClass("wpd-show");var i=new FormData;i.append("action","wpdGuestAction"),i.append("guestAction",a),wpdiscuzAjaxObj.getAjaxObj(d||n,!1,i).done(function(d){t.addClass("wpd-not-clicked"),t.find(".wpd-loading").removeClass("wpd-show");try{var n=e.parseJSON(d);t.after(n.message);var a=t.next(".wpd-guest-action-message");a.fadeIn(100).fadeOut(7e3,function(){a.remove(),1===parseInt(n.code)&&(t.parent().remove(),e(".wpd-delete-all-comments").length||e(".wpd-delete-all-subscriptions").length||e(".wpd-delete-all-cookies").parent().addClass("wpd-show"))})}catch(e){console.log(e)}})}else!function(){for(var e=document.cookie.split(";"),t=0;t<e.length;t++){var d=e[t],n=d.indexOf("="),a=n>-1?d.substr(0,n):d;Cookies.remove(a.trim())}location.reload(!0)}()})});
[+]
..
[-] wpdiscuz-deactivation.js
[edit]
[-] wpdiscuz-social.min.js
[edit]
[-] wpdiscuz-admin-menu-item.js
[edit]
[-] wpdiscuz-shortcode-gutenberg.js
[edit]
[-] wpd-editor.min.js
[edit]
[-] wpdiscuz-social.js
[edit]
[-] wpdiscuz.js
[edit]
[-] wpd-editor.js
[edit]
[-] wpdiscuz-shortcode-tinymce.js
[edit]
[-] wpdiscuz-mu-frontend.js
[edit]
[-] wpdiscuz-notes.js
[edit]
[-] wpdiscuz-mu-frontend.min.js
[edit]
[-] wpdiscuz.min.js
[edit]
[-] wpdiscuz-custom-form.js
[edit]
[-] wpdiscuz-combo.min.js
[edit]
[-] index.html
[edit]
[-] wpdiscuz-user-content.js
[edit]
[-] wpdiscuz-mu-backend.js
[edit]
[-] wpdiscuz-combo-no_quill.min.js
[edit]
[-] wpdiscuz-options.js
[edit]
[-] wpdiscuz-user-content.min.js
[edit]