mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-03 21:43:21 +00:00 
			
		
		
		
	subs: Rename in_home_view checkbox-setting template element.
				
					
				
			This commit is contained in:
		
				
					committed by
					
						
						Tim Abbott
					
				
			
			
				
	
			
			
			
						parent
						
							2a943d3b40
						
					
				
				
					commit
					7d75cdef7f
				
			@@ -48,8 +48,8 @@ exports.update_is_muted = function (sub, value) {
 | 
			
		||||
 | 
			
		||||
    stream_list.set_in_home_view(sub.stream_id, !sub.is_muted);
 | 
			
		||||
 | 
			
		||||
    var not_in_home_view_checkbox = $(".subscription_settings[data-stream-id='" + sub.stream_id + "'] #sub_setting_not_in_home_view .sub_setting_control");
 | 
			
		||||
    not_in_home_view_checkbox.prop('checked', value);
 | 
			
		||||
    var is_muted_checkbox = $(".subscription_settings[data-stream-id='" + sub.stream_id + "'] #sub_setting_is_muted .sub_setting_control");
 | 
			
		||||
    is_muted_checkbox.prop('checked', value);
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
return exports;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user