Browse Source

add handling of clicks on .mini-follower-link

readme-update
Simon Grim 9 years ago
parent
commit
054348756d
  1. 3
      js/twister_following.js

3
js/twister_following.js

@ -471,7 +471,8 @@ function whoFollows(username) { @@ -471,7 +471,8 @@ function whoFollows(username) {
function fillWhoFollows(list, item, offset, size) {
for (var i = offset; i < offset + size; i++) {
var follower_link = $( '<a class="mini-follower-link"></a>' );
var follower_link = $('<a class="mini-follower-link"></a>')
.on('click', handleClickOpenProfileModal);
// link follower to profile page
follower_link.attr("data-screen-name", list[i]);

Loading…
Cancel
Save