mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-10 16:05:49 +01:00
updated ACP checkbox module so that it hides the checkbox via js instead of blanket CSS hiding
This commit is contained in:
@@ -179,6 +179,7 @@
|
||||
var checkbox = $(this),
|
||||
checked = checkbox.is(':checked');
|
||||
|
||||
checkbox.hide();
|
||||
if (checked) {
|
||||
checkbox.after('<i class="fa fa-toggle-on"></i>');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user