From 9894d05f321517741f4ea0cb6518614e76aaf10b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bar=C4=B1=C5=9F=20Soner=20U=C5=9Fakl=C4=B1?= Date: Sat, 22 Apr 2023 16:40:56 -0400 Subject: [PATCH] fix: closes #11508, update selector --- public/src/admin/advanced/cache.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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');