Move custom buttons to a new position in the category description section
This commit is contained in:
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
@@ -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