mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-03 21:43:21 +00:00 
			
		
		
		
	We passed subsection elem to get_subsection_property_elements function in all cases except the one when calling from discard button click handler and we passed the input elem instead in that case. This commit changes the code to pass subsection element directly in the discard button click handler as well such that we can use get_subsection_property_elements function for the stream settings code and do not find the subsection element inside the function.