DEV: removes jquery usage from admin-watched-words (#15246)
This commit is contained in:
parent
3052eb6ae6
commit
e0ea16f05d
|
@ -50,6 +50,9 @@ export default Controller.extend({
|
|||
|
||||
@action
|
||||
toggleMenu() {
|
||||
$(".admin-detail").toggleClass("mobile-closed mobile-open");
|
||||
const adminDetail = document.querySelector(".admin-detail");
|
||||
["mobile-closed", "mobile-open"].forEach((state) => {
|
||||
adminDetail.classList.toggle(state);
|
||||
});
|
||||
},
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue