mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-05-07 15:35:45 +02:00
remove console.log fix typos
This commit is contained in:
@@ -2,9 +2,9 @@
|
||||
|
||||
/* globals define, app, socket, utils */
|
||||
define('forum/account/watched', ['forum/account/header', 'forum/infinitescroll'], function(header, infinitescroll) {
|
||||
var AccountTopics = {};
|
||||
var AccountWatched = {};
|
||||
|
||||
AccountTopics.init = function() {
|
||||
AccountWatched.init = function() {
|
||||
header.init();
|
||||
|
||||
infinitescroll.init(loadMore);
|
||||
@@ -20,7 +20,6 @@ define('forum/account/watched', ['forum/account/header', 'forum/infinitescroll']
|
||||
set: 'uid:' + $('.account-username-box').attr('data-uid') + ':followed_tids',
|
||||
after: $('.user-topics').attr('data-nextstart')
|
||||
}, function(data, done) {
|
||||
console.log(data);
|
||||
if (data.topics && data.topics.length) {
|
||||
onTopicsLoaded(data.topics, done);
|
||||
$('.user-topics').attr('data-nextstart', data.nextStart);
|
||||
@@ -41,5 +40,5 @@ console.log(data);
|
||||
});
|
||||
}
|
||||
|
||||
return AccountTopics;
|
||||
return AccountWatched;
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user