mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-06-18 18:30:14 +02:00
use ajaxify.data.uid instead of template element
This commit is contained in:
@@ -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);
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user