mirror of
				https://github.com/NodeBB/NodeBB.git
				synced 2025-10-31 02:55:58 +01:00 
			
		
		
		
	fix for responsive avatar, fix for submit/discard buttons taking you away from the thread
This commit is contained in:
		| @@ -3,10 +3,6 @@ var	RDB = require('./redis.js'), | ||||
| 	marked = require('marked'), | ||||
| 	user = require('./user.js'); | ||||
|  | ||||
| marked.setOptions({ | ||||
| 	breaks: true | ||||
| }); | ||||
|  | ||||
| (function(Posts) { | ||||
| 	//data structure | ||||
| 	//*global:next_post_id | ||||
| @@ -105,10 +101,10 @@ marked.setOptions({ | ||||
| 			}); | ||||
|  | ||||
| 			user.get_user_postdetails([uid], function(user_details) { | ||||
| 				user.get_gravatars_by_uids([uid], 80, function(gravatars) { | ||||
| 				user.get_gravatars_by_uids([uid], '', function(gravatars) { | ||||
| 					var timestamp = new Date().getTime(); | ||||
|  | ||||
| 					socket.broadcast.to('topic_' + tid).emit('event:new_post', { | ||||
| 					socket.in('topic_' + tid).emit('event:new_post', { | ||||
| 						'posts' : [ | ||||
| 							{ | ||||
| 								'pid' : pid, | ||||
|   | ||||
		Reference in New Issue
	
	Block a user