summaryrefslogtreecommitdiffstats
path: root/js/app/services/models/itemmodel.coffee
diff options
context:
space:
mode:
authorBernhard Posselt <nukeawhale@gmail.com>2013-03-27 12:49:18 +0100
committerBernhard Posselt <nukeawhale@gmail.com>2013-03-27 12:49:18 +0100
commit03e4ec51b3444be4f0bdc324370c3416aa7d64c0 (patch)
treef1302e55560de06c0d4990745ff5dfef96365d1e /js/app/services/models/itemmodel.coffee
parent02ae36eba33a5e0957defd4619d337bfdd0c178f (diff)
also update feedmodel if urlhash is the same
Diffstat (limited to 'js/app/services/models/itemmodel.coffee')
-rw-r--r--js/app/services/models/itemmodel.coffee2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/app/services/models/itemmodel.coffee b/js/app/services/models/itemmodel.coffee
index 16250ecf7..3101c52f1 100644
--- a/js/app/services/models/itemmodel.coffee
+++ b/js/app/services/models/itemmodel.coffee
@@ -38,7 +38,7 @@ angular.module('News').factory '_ItemModel',
# items have two unique fields: feed_id and guidhash
- # in case we get updated items with the same two fields we
+ # in case we get updated items with the same two fields we
# also need to update the field
add: (data, clearCache=true) ->
hash = data.feedId + '_' + data.guidHash