The logic here seems a bit flawed. Prior to your change, `e.preventDefault` was invoked without checking if said method actually existed. Therefore, your additional `if` statement will always evaluate to `true`.

`preventDefault` is manually attached somewhere along the line...