diff options
| author | root <root@lalalizard.com> | 2012-12-27 05:35:44 -0500 |
|---|---|---|
| committer | root <root@lalalizard.com> | 2012-12-27 05:38:54 -0500 |
| commit | 5f057d1d95d00294472edcbfbc17cfec4dfb561d (patch) | |
| tree | 861801786d4a7f06989396920c9911640fdea97d /frontend/static/js/main.js | |
| parent | 321cbf72d3019af40e2b9aacd68e5946df0c75a1 (diff) | |
fix /profile links with username.sj.com
Diffstat (limited to 'frontend/static/js/main.js')
| -rw-r--r-- | frontend/static/js/main.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/frontend/static/js/main.js b/frontend/static/js/main.js index 2f7439b..0b6db36 100644 --- a/frontend/static/js/main.js +++ b/frontend/static/js/main.js @@ -522,7 +522,8 @@ var Include = { Chat.previousName = row[2] var s = "<div class='chatline'>" - s += '<a href="/profile/' + row[2] + '" class="u">' + row[2] + "</a>" + var domain = window.location.hostname.split('.').slice(-2).join('.') + s += '<a href="http://' + row[2] + "." + domain + '/" class="u">' + row[2] + "</a>" s += "<span>" s += Chat.parseWords(row[3]) s += "</span>" |
