Skip to content

Node.js based forum software built for the modern web

fix: closes #11508, update selector

Barış Soner Uşaklı9894d05f3215
diff --git a/public/src/admin/advanced/cache.js b/public/src/admin/advanced/cache.js
index 98073fafee..4b77cfb42b 100644
--- a/public/src/admin/advanced/cache.js
+++ b/public/src/admin/advanced/cache.js
@@ -17,7 +17,7 @@ define('admin/advanced/cache', ['alerts'], function (alerts) {
});
});
- $('.checkbox').on('change', function () {
+ $('.form-check').on('change', function () {
const input = $(this).find('input');
const flag = input.is(':checked');
const name = $(this).attr('data-name');