tweaking multi-line ternary

I’m making this change to pass JSHint. Additionally, doing it this way
means that none of the lines are valid expressions by themselves.
Keeping the `?` on the first line disables that line from existing in
isolation.