Skip to content

Commit

Permalink
Feed-Links in neuen Tabs öffnen
Browse files Browse the repository at this point in the history
  • Loading branch information
cadeyrn committed Oct 5, 2016
1 parent fd02c6a commit ddd031a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Binary file added dist/[email protected]
Binary file not shown.
5 changes: 3 additions & 2 deletions src/data/js/feed.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,9 @@ self.port.on('feed-items', (items) => {

let el = document.createElement('li');
el.innerHTML = '<small>' + window.global_i18n.feed_published_at + ' ' + dateAsString + '</small><br />' +
'<a href="' + items[i].link + '"><strong>' + items[i].title + '</strong></a><br />' + items[i].description +
'<a href="' + items[i].link + '" class="button">' + window.global_i18n.feed_read_more + '</a>';
'<a href="' + items[i].link + '" target="_blank"><strong>' + items[i].title + '</strong></a><br />' +
items[i].description + '<a href="' + items[i].link + '" class="button" target="_blank">' +
window.global_i18n.feed_read_more + '</a>';
document.getElementById('feed-items').appendChild(el);
}
});

0 comments on commit ddd031a

Please sign in to comment.