Merge pull request #378 from metamaps/embedly

updated embedly library, and data-card-chrome was now causing a breaking change
This commit is contained in:
Connor Turland 2015-01-28 19:33:54 -05:00
commit 40cebf572c
2 changed files with 3 additions and 4 deletions

File diff suppressed because one or more lines are too long

View file

@ -893,7 +893,6 @@ Metamaps.TopicCard = {
});
var embedlyEl = $('<a/>', {
id: 'embedlyLink',
'data-card-chrome': '0',
'data-card-description': '0',
href: text
}).html(text);
@ -1176,7 +1175,7 @@ Metamaps.TopicCard = {
nodeValues.attachmentsHidden = '';
if (topic.get('link') && topic.get('link')!== '') {
nodeValues.embeds = '<a href="' + topic.get('link') + '" id="embedlyLink" target="_blank" data-card-chrome="0" data-card-description="0">';
nodeValues.embeds = '<a href="' + topic.get('link') + '" id="embedlyLink" target="_blank" data-card-description="0">';
nodeValues.embeds += topic.get('link');
nodeValues.embeds += '</a><div id="embedlyLinkLoader"></div>';
nodeValues.attachmentsHidden = 'hidden';