summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsostler <sbostler@gmail.com>2009-11-13 19:49:11 -0500
committersostler <sbostler@gmail.com>2009-11-13 19:49:11 -0500
commitd63201c60439eff2a170bffe447d53e215887ef1 (patch)
tree36a6f1bdc09c8f230c00193f42033e1e62f9c04a
parent6d1d76b1df03203c58dd00c06a98b18fd7617f10 (diff)
Added pichat.js
-rwxr-xr-xstatic/pichat.js3
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));
}