X7ROOT File Manager
Current Path:
/home/notabjze/starbudzca.com/wp-content/themes/astra/inc/assets/js
home
/
notabjze
/
starbudzca.com
/
wp-content
/
themes
/
astra
/
inc
/
assets
/
js
/
ðŸ“
..
📄
ast-parse-svg.js
(232 B)
📄
ast-render-svg.js
(852 B)
📄
astra-admin-menu-settings.js
(4.96 KB)
📄
block-editor-script.js
(37.02 KB)
📄
column-block-compatibility.js
(2.76 KB)
📄
custom-fields-priority.js
(870 B)
📄
customizer-preview.js
(8.87 KB)
Editing: custom-fields-priority.js
/** * custom-fields-priority.js * * Provide more preferences to Astra meta setting so wordpress custom field not causing any kind of conflicts. * * @package Astra */ function removeMetaBoxSection() { document.getElementById("the-list").remove(); } function buttonClickEvent() { [...document.querySelectorAll('.editor-post-publish-button')].forEach(element => element.addEventListener('click', function (event) { removeMetaBoxSection(); })); [...document.querySelectorAll('.editor-post-publish-panel__toggle')].forEach(element => element.addEventListener('click', function (event) { removeMetaBoxSection(); })); } function DOMContentLoaded() { const elementMetaBox = document.getElementById("the-list"); if (elementMetaBox != null) { setTimeout(buttonClickEvent, 2000); } } document.addEventListener('DOMContentLoaded', DOMContentLoaded, false);
Upload File
Create Folder