mirror of
				https://github.com/SillyTavern/SillyTavern.git
				synced 2025-06-05 21:59:27 +02:00 
			
		
		
		
	Comments are reverse
This commit is contained in:
		| @@ -9261,12 +9261,12 @@ jQuery(async function () { | |||||||
|  |  | ||||||
|         const scrollIsAtBottom = Math.abs(chatElementScroll.scrollHeight - chatElementScroll.clientHeight - chatElementScroll.scrollTop) < 1; |         const scrollIsAtBottom = Math.abs(chatElementScroll.scrollHeight - chatElementScroll.clientHeight - chatElementScroll.scrollTop) < 1; | ||||||
|  |  | ||||||
|         // Cancel autoscroll if the user scrolls up |         // Resume autoscroll if the user scrolls to the bottom | ||||||
|         if (scrollLock && scrollIsAtBottom) { |         if (scrollLock && scrollIsAtBottom) { | ||||||
|             scrollLock = false; |             scrollLock = false; | ||||||
|         } |         } | ||||||
|  |  | ||||||
|         // Resume autoscroll if the user scrolls to the bottom |         // Cancel autoscroll if the user scrolls up | ||||||
|         if (!scrollLock && !scrollIsAtBottom) { |         if (!scrollLock && !scrollIsAtBottom) { | ||||||
|             scrollLock = true; |             scrollLock = true; | ||||||
|         } |         } | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user