Files
Testing/tbb/wp-content/plugins/wp-paginate/js/wp-paginate.js
sean 0e8a8b3028
Some checks failed
deploy-testing / deploy (push) Has been cancelled
Initial testing snapshot
2026-11-17 16:15:01 -05:00

34 lines
785 B
JavaScript

jQuery(document).ready(function(){
jQuery("#wpp-review-already, #wpp-dismiss").click(function(){
jQuery.ajax({
type: "POST",
async: true,
data: { action: "wpp_dismiss_notice", nonce: wpp_ajax.nonce },
url : wpp_ajax.ajaxurl,
dataType: "html",
success: function (data) {
jQuery(".wpp-notice").hide();
},
error: function (err)
{ alert(err.responseText);}
});
});
jQuery("#wpp-review-later").click(function(){
jQuery.ajax({
type: "POST",
async: true,
data: { action: "wpp_set_review_later", nonce: wpp_ajax.nonce },
url : wpp_ajax.ajaxurl,
dataType: "html",
success: function (data) {
jQuery(".wpp-notice").hide();
},
error: function (err)
{ alert(err.responseText);}
});
});
});