mirror of
				https://github.com/NodeBB/NodeBB.git
				synced 2025-10-31 19:15:58 +01:00 
			
		
		
		
	no need to add img-responsive to all images anymore
This commit is contained in:
		| @@ -253,7 +253,7 @@ define('forum/topic/posts', [ | |||||||
| 		utils.addCommasToNumbers(element.find('.formatted-number')); | 		utils.addCommasToNumbers(element.find('.formatted-number')); | ||||||
| 		utils.makeNumbersHumanReadable(element.find('.human-readable-number')); | 		utils.makeNumbersHumanReadable(element.find('.human-readable-number')); | ||||||
| 		element.find('.timeago').timeago(); | 		element.find('.timeago').timeago(); | ||||||
| 		element.find('[component="post/content"] img:not(.emoji)').addClass('img-responsive').each(function() { | 		element.find('[component="post/content"] img:not(.emoji)').each(function() { | ||||||
| 			var $this = $(this); | 			var $this = $(this); | ||||||
| 			if (!$this.parent().is('a')) { | 			if (!$this.parent().is('a')) { | ||||||
| 				$this.wrap('<a href="' + $this.attr('src') + '" target="_blank">'); | 				$this.wrap('<a href="' + $this.attr('src') + '" target="_blank">'); | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user