summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--static/js/pichat.js2
-rw-r--r--template/chat.st4
2 files changed, 3 insertions, 3 deletions
diff --git a/static/js/pichat.js b/static/js/pichat.js
index e753195..888e93b 100644
--- a/static/js/pichat.js
+++ b/static/js/pichat.js
@@ -198,7 +198,7 @@ function buildUserDiv(user) {
} else {
return '<div class="username">'
+ '<a href="/u/' + escapeHtml(user.nick) + '" target="_blank">'
- + '<img src="/static/noinfo.png" width="50" height="50">'
+ + '<img src="/static/img/noinfo.png" width="50" height="50">'
+ escapeHtml(user.nick) + '</a></div>';
}
}
diff --git a/template/chat.st b/template/chat.st
index 422c640..8a02ccd 100644
--- a/template/chat.st
+++ b/template/chat.st
@@ -49,7 +49,7 @@ $users: { u |
$if(u.avatar)$
<img src="$u.avatar$" width="50" height="50">
$else$
- <img src="/static/noinfo.png">
+ <img src="/static/img/noinfo.png">
$endif$
$u.nick$</a><br>
</div>
@@ -110,4 +110,4 @@ $footer()$
</div>
$preload()$
</body>
-</html> \ No newline at end of file
+</html>