Skip to content

Commit

Permalink
make uncaught exception impossible
Browse files Browse the repository at this point in the history
  • Loading branch information
FireLemons committed Nov 15, 2023
1 parent 860f18e commit e512aa9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/javascript/src/case_contact_autosave.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ $(() => { // JQuery's callback for the DOM loading
input.value = value
}

if (!input.checked) {
if (input && !input.checked) {
input.checked = checked
}
})
Expand Down

0 comments on commit e512aa9

Please sign in to comment.