File Editor
Directories:
.. (Back)
Files:
admin.min.js
campaign-selector.min.js
campaign-selector.min.js.LICENSE.txt
editor.min.js
elementor.min.js
global.min.js
helper.min.js
metabox.min.js
om-format.min.js
om-settings.min.js
plugininstall.min.js
wc-marketing.min.js
Create New File
Create
Edit File: metabox.min.js
window.OMAPI_WooCommerce_Metaboxes=window.OMAPI_WooCommerce_Metaboxes||{},function(e,s,t,o){t.cache=()=>{t.options=s.querySelectorAll(".omapi-metabox__nav a"),t.slides=s.querySelectorAll(".omapi-metabox__slides-slide")},t.setEventListeners=()=>{t.options.forEach((e=>{e.addEventListener("click",(o=>{o.preventDefault(),t.removeActiveClass(t.options),e.classList.add("active");const a=e.getAttribute("href");a&&(t.removeActiveClass(t.slides),s.querySelector(a).classList.add("active"))}))}))},t.removeActiveClass=e=>{e.forEach((e=>{e.classList.remove("active")}))},e.addEventListener("DOMContentLoaded",(()=>{t.hasSlides=s.querySelectorAll(".omapi-metabox.has-slides").length,t.hasSlides&&(t.cache(),t.setEventListeners())}))}(window,document,window.OMAPI_WooCommerce_Metaboxes);
Save Changes
Rename File
Rename