mirror of
				https://github.com/NodeBB/NodeBB.git
				synced 2025-10-31 11:05:54 +01:00 
			
		
		
		
	less confusing
This commit is contained in:
		| @@ -324,7 +324,7 @@ SocketTopics.follow = function(socket, tid, callback) { | |||||||
| }; | }; | ||||||
|  |  | ||||||
| SocketTopics.loadMore = function(socket, data, callback) { | SocketTopics.loadMore = function(socket, data, callback) { | ||||||
| 	if(!data || !data.tid || !(parseInt(data.after, 10) >= 0))  { | 	if(!data || !data.tid || parseInt(data.after, 10) < 0)  { | ||||||
| 		return callback(new Error('[[error:invalid-data]]')); | 		return callback(new Error('[[error:invalid-data]]')); | ||||||
| 	} | 	} | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user