mirror of
				https://github.com/SillyTavern/SillyTavern.git
				synced 2025-06-05 21:59:27 +02:00 
			
		
		
		
	Merge branch 'dev' of https://github.com/Cohee1207/SillyTavern into dev
This commit is contained in:
		| @@ -70,13 +70,15 @@ const getApiUrl = () => extension_settings.apiUrl; | ||||
| let connectedToApi = false; | ||||
|  | ||||
| function showHideExtensionsMenu() { | ||||
|     const hasMenuItems = $('#extensionsMenu').children().length > 0; | ||||
|     // Get the number of menu items that are not hidden | ||||
|     const hasMenuItems = $('#extensionsMenu').children().filter((_, child) => $(child).css('display') !== 'none').length > 0; | ||||
|  | ||||
|     // We have menu items, so we can stop checking | ||||
|     if (hasMenuItems) { | ||||
|         clearInterval(menuInterval); | ||||
|     } | ||||
|  | ||||
|     // Show or hide the menu button | ||||
|     $('#extensionsMenuButton').toggle(hasMenuItems); | ||||
| } | ||||
|  | ||||
|   | ||||
| @@ -3,11 +3,12 @@ | ||||
|     "loading_order": 10, | ||||
|     "requires": [], | ||||
|     "optional": [ | ||||
|         "tts" | ||||
|         "silero-tts", | ||||
|         "edge-tts" | ||||
|     ], | ||||
|     "js": "index.js", | ||||
|     "css": "style.css", | ||||
|     "author": "Ouoertheo#7264", | ||||
|     "version": "1.0.0", | ||||
|     "homePage": "None" | ||||
| } | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user