Permalink
Browse files

append oembed code

  • Loading branch information...
miyagawa committed Oct 19, 2009
1 parent f917249 commit 29bd565f6963598235c1f85404bfcbf121f30e22
Showing with 1 addition and 1 deletion.
  1. +1 −1 eg/templates/chat.html
View
@@ -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+ ': '));

0 comments on commit 29bd565

Please sign in to comment.