fix double events on cache table

This commit is contained in:
Barış Soner Uşaklı
2026-02-24 10:06:16 -05:00
parent d6cf5fba1c
commit cdc8eeb8b9

View File

@@ -28,7 +28,7 @@ define('admin/advanced/cache', ['alerts'], function (alerts) {
});
});
$(document).on('click', '#cache-table th', function () {
$('#cache-table').on('click', 'th', function () {
const table = $(this).closest('table');
const tbody = table.find('tbody');
const columnIndex = $(this).index();