Avoid redundant ternary operator
Merge pull request #1 from mathiasbynens/patch-1

Avoid redundant ternary operator