diff options
| author | Scott Ostler <sostler@deathmachine.home> | 2009-12-21 14:23:20 -0800 |
|---|---|---|
| committer | Scott Ostler <sostler@deathmachine.home> | 2009-12-21 14:23:20 -0800 |
| commit | c97fe699625b793e9a9d8f348a0af7a9a375a4cd (patch) | |
| tree | fa8ff2385103b0c10a55a3a0589868718923a5cc /static/pichat.js | |
| parent | 458a2627cc6600690fdf78e48b78cf17a6ea4469 (diff) | |
| parent | 7a1af322fa38e1205613bc4767de7cc59b74c69c (diff) | |
Merge branch 'master' of ssh://dump.fm/pichat/repo
Diffstat (limited to 'static/pichat.js')
| -rwxr-xr-x | static/pichat.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/static/pichat.js b/static/pichat.js index d489bba..b12041c 100755 --- a/static/pichat.js +++ b/static/pichat.js @@ -15,8 +15,12 @@ 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 } // http://stackoverflow.com/questions/37684/replace-url-with-html-links-javascript |
