Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

append oembed code

  • Loading branch information...
commit 29bd565f6963598235c1f85404bfcbf121f30e22 1 parent f917249
@miyagawa authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  eg/templates/chat.html
View
2  eg/templates/chat.html
@@ -46,7 +46,7 @@
var message = $('<td/>').addClass('chat-message');
if (e.text) message.text(e.text);
if (e.html) message.html(e.html);
- message.find('a').oembed();
+ message.find('a').oembed(null, { embedMethod: "append" });
var name = e.name || (e.ident ? e.ident.split('@')[0] : null);
if (name)
message.prepend($('<span/>').addClass('name').text(name+ ': '));
Please sign in to comment.
Something went wrong with that request. Please try again.