From fe5ad2177e5abfe250c7c1c386a9322ecb44da27 Mon Sep 17 00:00:00 2001 From: Block Tester Date: Thu, 16 Jan 2014 02:21:49 +0000 Subject: [PATCH] Fixed clicking on followed by @user link in suggestions. --- css/style.css | 3 ++- home.html | 4 +++- twister_following.js | 1 + 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/css/style.css b/css/style.css index d32ff8f..bb8ec7e 100644 --- a/css/style.css +++ b/css/style.css @@ -624,7 +624,8 @@ button.disabled:hover font-size: 13px; cursor: pointer; } -.twister-user-name +.twister-user-name, +.twister-by-user-name { font-weight: bold; font-size: 14px; diff --git a/home.html b/home.html index 8f99a94..a24302e 100644 --- a/home.html +++ b/home.html @@ -174,7 +174,9 @@
Followed by - + + +
× diff --git a/twister_following.js b/twister_following.js index 5e3c98c..0192366 100644 --- a/twister_following.js +++ b/twister_following.js @@ -332,6 +332,7 @@ function processSuggestion(arg, suggestion, followedBy) { item.find(".twister-user-info").attr("data-screen-name", suggestion); item.find(".twister-user-name").attr("href", $.MAL.userUrl(suggestion)); + item.find(".twister-by-user-name").attr("href", $.MAL.userUrl(followedBy)); item.find(".twister-user-tag").text("@" + suggestion); getAvatar(suggestion,item.find(".twister-user-photo"));