Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

set maxwidth

  • Loading branch information...
commit 3f78a4e4b5cc63e1bb0f484383d87f8d036033e1 1 parent a7fc4c2
@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(null, { embedMethod: "append" });
+ message.find('a').oembed(null, { embedMethod: "append", maxWidth: 500 });
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.