diff --git a/src/Monitoring/ReplyPruning.coffee b/src/Monitoring/ReplyPruning.coffee index 87a67bf83..3c9524f73 100644 --- a/src/Monitoring/ReplyPruning.coffee +++ b/src/Monitoring/ReplyPruning.coffee @@ -50,7 +50,7 @@ ReplyPruning = ReplyPruning.active = @checked showIfHidden: (id) -> - if ReplyPruning.container?.getElementById id + if ReplyPruning.container and $("##{id}", ReplyPruning.container) ReplyPruning.inputs.enabled.checked = false $.event 'change', null, ReplyPruning.inputs.enabled