summaryrefslogtreecommitdiffstats
path: root/js/app/controllers
diff options
context:
space:
mode:
authorBernhard Posselt <nukeawhale@gmail.com>2013-03-26 18:27:30 +0100
committerBernhard Posselt <nukeawhale@gmail.com>2013-03-26 18:27:30 +0100
commiteff408710b708a44cf3869599985fd8246c0400b (patch)
treeb276ae04f8c1c8bd2b336d7ac925abe4d621dab5 /js/app/controllers
parenta5cb76f49169a360c9c08d617f93b549a1ba62f0 (diff)
fixed setting of active feed
Diffstat (limited to 'js/app/controllers')
-rw-r--r--js/app/controllers/feedcontroller.coffee2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/app/controllers/feedcontroller.coffee b/js/app/controllers/feedcontroller.coffee
index a8be616d9..1c04cd92e 100644
--- a/js/app/controllers/feedcontroller.coffee
+++ b/js/app/controllers/feedcontroller.coffee
@@ -131,7 +131,7 @@ angular.module('News').factory '_FeedController', ->
isFeedActive: (type, id) ->
- return type == @_active.getType() and id = @_active.getId()
+ return type == @_active.getType() and id == @_active.getId()
isShown: (type, id) ->