diff options
| author | sostler <sbostler@gmail.com> | 2009-11-13 19:49:11 -0500 |
|---|---|---|
| committer | sostler <sbostler@gmail.com> | 2009-11-13 19:49:11 -0500 |
| commit | d63201c60439eff2a170bffe447d53e215887ef1 (patch) | |
| tree | 36a6f1bdc09c8f230c00193f42033e1e62f9c04a /static | |
| parent | 6d1d76b1df03203c58dd00c06a98b18fd7617f10 (diff) | |
Added pichat.js
Diffstat (limited to 'static')
| -rwxr-xr-x | static/pichat.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/static/pichat.js b/static/pichat.js index aeef1bd..c612649 100755 --- a/static/pichat.js +++ b/static/pichat.js @@ -85,8 +85,7 @@ function buildMessageDiv(msg) { var match = URLRegex.exec(content) if (match && PicRegex.test(match[0])) { return '<a href="' + match[0] + '" target="_blank">' - + '<img height="150" width="150" src="' - + match[0] + '" /></a>'; + + '<img src="'+ match[0] + '" /></a>'; } else { return linkify(escapeHtml(msg.content)); } |
