Remove unnecessary parens

This commit is contained in:
Alasdair Smith 2017-09-07 11:30:42 +01:00
parent b7713439bf
commit 624802c28e

View file

@ -130,7 +130,7 @@ define [
.catch (err) ->
$scope.state.inflight = false
$scope.state.error = true
if (err.status? and err.status == 400)
if err.status? and err.status == 400
$scope.state.errorReason = 'invalid_email'
else
$scope.state.errorReason = null