From 5f057d1d95d00294472edcbfbc17cfec4dfb561d Mon Sep 17 00:00:00 2001 From: root Date: Thu, 27 Dec 2012 05:35:44 -0500 Subject: fix /profile links with username.sj.com --- frontend/templates/directory.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'frontend/templates') diff --git a/frontend/templates/directory.html b/frontend/templates/directory.html index 1a29e31..89c9373 100644 --- a/frontend/templates/directory.html +++ b/frontend/templates/directory.html @@ -264,7 +264,8 @@ var Directory = users[i].score = ' ' } cl += count % 2 ? " on" : " off" - rows.push('
  • '+users[i].score+''+users[i].name+'
  • ') + var domain = window.location.hostname.split('.').slice(-2).join('.') + rows.push('
  • '+users[i].score+''+users[i].name+'
  • ') count += 1 } $("#directory").html(rows.join('')) -- cgit v1.2.3-70-g09d2