Move custom buttons to a new position in the category description section

This commit is contained in:
2025-10-22 00:03:06 +02:00
parent 99ad156756
commit 012fe5911b
5 changed files with 5960 additions and 5918 deletions

View File

@@ -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);
}
});