diff --git a/assets/js/front-submit.js b/assets/js/front-submit.js index c76e70c1..2e04b312 100644 --- a/assets/js/front-submit.js +++ b/assets/js/front-submit.js @@ -94,7 +94,6 @@ this.bindLeaveWarning(); this.bindAi(); this.bindTagActive(); - this.bindDropSelect(); this.loadFeaturedFromDom(); }, @@ -158,18 +157,6 @@ }); }, - bindDropSelect: function () { - qsa('.term-select-box [data-toggle-class="open"]').forEach(function (button) { - button.addEventListener('click', function () { - var box = button.closest('.drop-select'); - if (!box) return; - var open = !box.classList.contains('open'); - box.classList.toggle('open', open); - button.setAttribute('aria-expanded', open ? 'true' : 'false'); - }); - }); - }, - bindSubmitButtons: function () { var self = this; qsa('.aksrt-submit-btn', this.form).forEach(function (btn) { diff --git a/templates/parts/submit/sidebar-terms.php b/templates/parts/submit/sidebar-terms.php index a25c3ab8..fa903360 100644 --- a/templates/parts/submit/sidebar-terms.php +++ b/templates/parts/submit/sidebar-terms.php @@ -27,7 +27,7 @@ require_once get_template_directory() . '/templates/parts/submit/term-checks.php