OwlCyberSecurity - MANAGER
Edit File: donation-options.js
(()=>{"use strict";const e=document.querySelector(".givewp-donation-options"),o=document.querySelector(".givewp-donation-options_close"),n=document.querySelector("._give_custom_amount_text_field");e&&n&&(n.insertAdjacentElement("afterend",e),o.addEventListener("click",(async function(o){e.remove(),await async function(e,o){await fetch("/wp-json/give-api/v2/admin/recommended-options",{method:"POST",headers:{"Content-Type":"application/json","X-WP-Nonce":o},body:JSON.stringify({option:"givewp_form_editor_donation_options_recurring_recommendation"})})}(0,window.GiveLegacyFormEditor.apiNonce)})))})();