mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-26 08:36:12 +01:00
fix: closes #11508, update selector
This commit is contained in:
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user