进行了一些小修复
This commit is contained in:
1 parent
ad26feaaee
commit
5222349c85
3 files changed
+7
-15
No files matched your search
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user