Merge pull request #426 from vincentbernat/fix/feedlink-append
embed: fix feed link creation on older browsers
This commit is contained in:
commit
5e65e46b59
@ -31,7 +31,7 @@ require(["app/lib/ready", "app/config", "app/i18n", "app/api", "app/isso", "app/
|
|||||||
var feedLink = $.new('a', i18n.translate('atom-feed'));
|
var feedLink = $.new('a', i18n.translate('atom-feed'));
|
||||||
var feedLinkWrapper = $.new('span.isso-feedlink');
|
var feedLinkWrapper = $.new('span.isso-feedlink');
|
||||||
feedLink.href = api.feed($("#isso-thread").getAttribute("data-isso-id"));
|
feedLink.href = api.feed($("#isso-thread").getAttribute("data-isso-id"));
|
||||||
feedLinkWrapper.append(feedLink);
|
feedLinkWrapper.appendChild(feedLink);
|
||||||
$("#isso-thread").append(feedLinkWrapper);
|
$("#isso-thread").append(feedLinkWrapper);
|
||||||
}
|
}
|
||||||
$("#isso-thread").append($.new('h4'));
|
$("#isso-thread").append($.new('h4'));
|
||||||
|
Loading…
Reference in New Issue
Block a user