Don't try to use getElementById on non-document.
This commit is contained in:
parent
1178476a3f
commit
49adb99ae9
@ -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
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user