mirror of
				https://github.com/SillyTavern/SillyTavern.git
				synced 2025-06-05 21:59:27 +02:00 
			
		
		
		
	onelinefy
This commit is contained in:
		@@ -6228,17 +6228,9 @@ function callPopup(text, type, inputValue = '', { okButton, rows, wide, large }
 | 
			
		||||
        popup_type = type;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    if (wide) {
 | 
			
		||||
        $("#dialogue_popup").addClass("wide_dialogue_popup");
 | 
			
		||||
    } else {
 | 
			
		||||
        $("#dialogue_popup").removeClass("wide_dialogue_popup");
 | 
			
		||||
    }
 | 
			
		||||
    $('#dialogue_popup').toggleClass('wide_dialogue_popup', !!wide);
 | 
			
		||||
 | 
			
		||||
    if (large) {
 | 
			
		||||
        $("#dialogue_popup").addClass("large_dialogue_popup");
 | 
			
		||||
    } else {
 | 
			
		||||
        $("#dialogue_popup").removeClass("large_dialogue_popup");
 | 
			
		||||
    }
 | 
			
		||||
    $('#dialogue_popup').toggleClass('large_dialogue_popup', !!large);
 | 
			
		||||
 | 
			
		||||
    $("#dialogue_popup_cancel").css("display", "inline-block");
 | 
			
		||||
    switch (popup_type) {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user