use ajaxify.data.uid instead of template element

v1.18.x
psychobunny 10 years ago
parent 3314ab4b83
commit aa373841e9

@ -9,7 +9,7 @@ define('forum/account/followers', ['forum/account/header', 'forum/infinitescroll
header.init();
infinitescroll.init(function(direction) {
Followers.loadMore(direction, 'account/followers', 'followers:' + $('.account-username-box').attr('data-uid'));
Followers.loadMore(direction, 'account/followers', 'followers:' + ajaxify.data.uid);
});
};

@ -9,7 +9,7 @@ define('forum/account/following', ['forum/account/header', 'forum/infinitescroll
header.init();
infinitescroll.init(function(direction) {
followers.loadMore(direction, 'account/following', 'following:' + $('.account-username-box').attr('data-uid'));
followers.loadMore(direction, 'account/following', 'following:' + ajaxify.data.uid);
});
};

Loading…
Cancel
Save