diff options
| author | Scott Ostler <sostler@ubuntu.(none)> | 2009-12-21 23:49:18 -0500 |
|---|---|---|
| committer | Scott Ostler <sostler@ubuntu.(none)> | 2009-12-21 23:49:18 -0500 |
| commit | c59927b378092f437896381698ebc8d4a4243492 (patch) | |
| tree | 9548dd47ed45d80db294e176cd1d25964a53404b /static/pichat.js | |
| parent | abf97ed31da3b08e7757981ab63b5aa28aa76f79 (diff) | |
Pushing
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 |
