Skip to content
Snippets Groups Projects
Commit b9a969a5 authored by Marcelo Schmidt's avatar Marcelo Schmidt
Browse files

Fixed conflicts

parent 785bf24c
No related merge requests found
......@@ -78,12 +78,6 @@ Template.message.helpers
return true
oembed: ->
$body = $(Template.instance().body)
return null unless $body.is('a[href="'+this.url+'"]') or $body.has('a[href="'+this.url+'"]').is()
Template.oembedBaseWidget
Template.message.onCreated ->
msg = Template.currentData()
......
......@@ -42,12 +42,11 @@
</div>
{{/if}}
</span>
<div class="body" dir="auto">
{{{body}}}
{{#if hasOembed}}
{{#each urls}}
{{> oembed}}
{{> oembedBaseWidget}}
{{/each}}
{{/if}}
</div>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment