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/static/js/player.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'frontend/static/js/player.js') diff --git a/frontend/static/js/player.js b/frontend/static/js/player.js index a64c003..1245029 100644 --- a/frontend/static/js/player.js +++ b/frontend/static/js/player.js @@ -481,7 +481,8 @@ var Playlist = s += ""+score+"" } s += ""+likeWord+"" - s += ""+video.username+"" + var domain = window.location.hostname.split('.').slice(-2).join('.') + s += ""+video.username+"" s += ""+video.title+"" s += "" return s -- cgit v1.2.3-70-g09d2