Merge pull request #496 from vincentbernat/fix/feedlink-append
embed: fix feed link creation on older browsers
This commit is contained in:
commit
e6132580a9
@ -37,7 +37,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(heading);
|
isso_thread.append(heading);
|
||||||
|
Loading…
Reference in New Issue
Block a user