updated embedly library, and data-card-chrome was now causing a breaking change
This commit is contained in:
parent
07e0aac7fd
commit
bb99583622
2 changed files with 3 additions and 4 deletions
File diff suppressed because one or more lines are too long
|
@ -893,7 +893,6 @@ Metamaps.TopicCard = {
|
||||||
});
|
});
|
||||||
var embedlyEl = $('<a/>', {
|
var embedlyEl = $('<a/>', {
|
||||||
id: 'embedlyLink',
|
id: 'embedlyLink',
|
||||||
'data-card-chrome': '0',
|
|
||||||
'data-card-description': '0',
|
'data-card-description': '0',
|
||||||
href: text
|
href: text
|
||||||
}).html(text);
|
}).html(text);
|
||||||
|
@ -1176,7 +1175,7 @@ Metamaps.TopicCard = {
|
||||||
|
|
||||||
nodeValues.attachmentsHidden = '';
|
nodeValues.attachmentsHidden = '';
|
||||||
if (topic.get('link') && topic.get('link')!== '') {
|
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 += topic.get('link');
|
||||||
nodeValues.embeds += '</a><div id="embedlyLinkLoader"></div>';
|
nodeValues.embeds += '</a><div id="embedlyLinkLoader"></div>';
|
||||||
nodeValues.attachmentsHidden = 'hidden';
|
nodeValues.attachmentsHidden = 'hidden';
|
||||||
|
|
Loading…
Reference in a new issue