mirror of
				https://github.com/SillyTavern/SillyTavern.git
				synced 2025-06-05 21:59:27 +02:00 
			
		
		
		
	Trim TG types after split
This commit is contained in:
		| @@ -595,7 +595,7 @@ jQuery(function () { | |||||||
|  |  | ||||||
| function showTypeSpecificControls(type) { | function showTypeSpecificControls(type) { | ||||||
|     $('[data-tg-type]').each(function () { |     $('[data-tg-type]').each(function () { | ||||||
|         const tgTypes = $(this).attr('data-tg-type').split(','); |         const tgTypes = $(this).attr('data-tg-type').split(',').map(x => x.trim()); | ||||||
|         for (const tgType of tgTypes) { |         for (const tgType of tgTypes) { | ||||||
|             if (tgType === type || tgType == 'all') { |             if (tgType === type || tgType == 'all') { | ||||||
|                 $(this).show(); |                 $(this).show(); | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user