summaryrefslogtreecommitdiffstats
path: root/js/app/services/opmlparser.coffee
diff options
context:
space:
mode:
Diffstat (limited to 'js/app/services/opmlparser.coffee')
-rw-r--r--js/app/services/opmlparser.coffee2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/app/services/opmlparser.coffee b/js/app/services/opmlparser.coffee
index 5154e423c..9586cbaf2 100644
--- a/js/app/services/opmlparser.coffee
+++ b/js/app/services/opmlparser.coffee
@@ -66,7 +66,7 @@ angular.module('News').factory '_OPMLParser', ->
_recursivelyParse: ($xml, structure) ->
for outline in $xml.children('outline')
$outline = $(outline)
- if angular.isDefined($outline.attr('type'))
+ if angular.isDefined($outline.attr('xmlUrl'))
feed = new Feed($outline.attr('text'), $outline.attr('xmlUrl'))
structure.add(feed)
else