Browse Source

fix handling of clicks on .mini-follower-link

readme-update
Simon Grim 9 years ago
parent
commit
1f686b36cb
  1. 2
      js/twister_following.js

2
js/twister_following.js

@ -472,7 +472,7 @@ function whoFollows(username) {
function fillWhoFollows(list, item, offset, size) { function fillWhoFollows(list, item, offset, size) {
for (var i = offset; i < offset + size; i++) { 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); .on('click mouseup', handleClickOpenProfileModal);
// link follower to profile page // link follower to profile page
follower_link.attr("data-screen-name", list[i]); follower_link.attr("data-screen-name", list[i]);

Loading…
Cancel
Save