summaryrefslogtreecommitdiff
path: root/static/pichat.js
diff options
context:
space:
mode:
Diffstat (limited to 'static/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));
}