mirror of
				https://github.com/SillyTavern/SillyTavern.git
				synced 2025-06-05 21:59:27 +02:00 
			
		
		
		
	debug console logs for AN show/hide
This commit is contained in:
		| @@ -5676,10 +5676,13 @@ $(document).ready(function () { | |||||||
|                     duration: 250, |                     duration: 250, | ||||||
|                     easing: animation_easing, |                     easing: animation_easing, | ||||||
|                 }); |                 }); | ||||||
|  |                 console.log('displayed AN panel'); | ||||||
|  |  | ||||||
|                 if ($("#ANBlockToggle") |                 if ($("#ANBlockToggle") | ||||||
|                     .siblings('.inline-drawer-content') |                     .siblings('.inline-drawer-content') | ||||||
|                     .css('display') !== 'block') { |                     .css('display') !== 'block') { | ||||||
|                     $("#ANBlockToggle").click(); |                     $("#ANBlockToggle").click(); | ||||||
|  |                     console.log('opened AN box'); | ||||||
|                 } |                 } | ||||||
|             } else { |             } else { | ||||||
|                 $("#floatingPrompt").transition({ |                 $("#floatingPrompt").transition({ | ||||||
| @@ -5687,7 +5690,11 @@ $(document).ready(function () { | |||||||
|                     duration: 250, |                     duration: 250, | ||||||
|                     easing: animation_easing, |                     easing: animation_easing, | ||||||
|                 }); |                 }); | ||||||
|                 setTimeout(function () { $("#floatingPrompt").hide(); }, 250); |                 setTimeout(function () { | ||||||
|  |                     $("#floatingPrompt").hide(); | ||||||
|  |                     console.log('hid AN panel'); | ||||||
|  |                 }, 250); | ||||||
|  |  | ||||||
|             } |             } | ||||||
|         } |         } | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user