From 12f5e484793c8a7542fda401cf8bddfe04508fef Mon Sep 17 00:00:00 2001 From: Rob H Date: Thu, 11 Sep 2014 17:58:38 +1000 Subject: [PATCH] Replace is not with isnt - damn you CoffeeScript --- .../darkswarm/services/authentication_service.js.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/javascripts/darkswarm/services/authentication_service.js.coffee b/app/assets/javascripts/darkswarm/services/authentication_service.js.coffee index 2dad1bc4f2..5f5ae520e3 100644 --- a/app/assets/javascripts/darkswarm/services/authentication_service.js.coffee +++ b/app/assets/javascripts/darkswarm/services/authentication_service.js.coffee @@ -4,7 +4,7 @@ Darkswarm.factory "AuthenticationService", (Navigation, $modal, $location, Redir selectedPath: "/login" constructor: -> - if $location.path() in ["/login", "/signup", "/forgot"] && location.pathname is not '/register/auth' + if $location.path() in ["/login", "/signup", "/forgot"] && location.pathname isnt '/register/auth' @open $location.path() else if location.pathname is '/register/auth' @open '/signup', 'registration_authentication.html'