diff options
| author | Scott Ostler <sostler@deathmachine.home> | 2009-12-21 20:50:11 -0800 |
|---|---|---|
| committer | Scott Ostler <sostler@deathmachine.home> | 2009-12-21 20:50:11 -0800 |
| commit | c32ed3d3f5623899d0b0d6c74daca106be26dae0 (patch) | |
| tree | a430a7c1940f17209d39bccf9b06b982cc090392 /static/pichat.js | |
| parent | 0b32421496d87714a9519cd7189fa4a48fb07020 (diff) | |
| parent | c59927b378092f437896381698ebc8d4a4243492 (diff) | |
Merge branch 'master' of ssh://dump.fm/pichat/repo
Diffstat (limited to 'static/pichat.js')
| -rwxr-xr-x | static/pichat.js | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/static/pichat.js b/static/pichat.js index b12041c..87bca75 100755 --- a/static/pichat.js +++ b/static/pichat.js @@ -15,12 +15,7 @@ function escapeHtml(txt) { } function buildUserDiv(user) { -<<<<<<< HEAD:static/pichat.js - return '<div class="username"><img src="/static/cat.jpeg" width="50" height="50">' + escapeHtml(user) + '</div>'; -======= - var nick = escapeHtml(user); - return '<div><a href="/u/' + nick + '">' + nick + '</a></div>'; ->>>>>>> 704efb06cd424de7411f198bc4c6ce6b99a9dcbe:static/pichat.js + return '<div class="username"><a href="/u/' + escapeHtml(user) + '"><img src="/static/cat.jpeg" width="50" height="50">' + escapeHtml(user) + '</a></div>'; } // http://stackoverflow.com/questions/37684/replace-url-with-html-links-javascript |
