Move custom buttons to a new position in the category description section
This commit is contained in:
@@ -296,3 +296,11 @@ jQuery(document).ready(function ($) {
|
||||
}
|
||||
})
|
||||
})
|
||||
|
||||
document.addEventListener('DOMContentLoaded', function() {
|
||||
const buttons = document.querySelector('#category-description .custom-buttons');
|
||||
const target = document.querySelector('.row.\\31 11');
|
||||
if (buttons && target) {
|
||||
target.parentNode.insertBefore(buttons, target);
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user