mirror of
				https://github.com/zulip/zulip.git
				synced 2025-10-31 12:03:46 +00:00 
			
		
		
		
	js: Fix a bunch of indentation issues found by eslint.
This is preparation for enabling an eslint indentation configuration. 90% of these changes are just fixes for indentation errors that have snuck into the codebase over the years; the others are more significant reformatting to make eslint happy (that are not otherwise actually improvements). The one area that we do not attempt to work on here is the "switch/case" indentation.
This commit is contained in:
		| @@ -53,18 +53,18 @@ exports.notify_with_undo_option = (function () { | ||||
|         var $exit = $("#unmute_muted_topic_notification .exit-me"); | ||||
|  | ||||
|         if (!meta.$mute) { | ||||
|           meta.$mute = $("#unmute_muted_topic_notification"); | ||||
|             meta.$mute = $("#unmute_muted_topic_notification"); | ||||
|  | ||||
|           $exit.click(function () { | ||||
|               animate.fadeOut(); | ||||
|           }); | ||||
|             $exit.click(function () { | ||||
|                 animate.fadeOut(); | ||||
|             }); | ||||
|  | ||||
|           meta.$mute.find("#unmute").click(function () { | ||||
|               // it should reference the meta variable and not get stuck with | ||||
|               // a pass-by-value of stream, topic. | ||||
|               exports.unmute(meta.stream, meta.topic); | ||||
|               animate.fadeOut(); | ||||
|           }); | ||||
|             meta.$mute.find("#unmute").click(function () { | ||||
|                 // it should reference the meta variable and not get stuck with | ||||
|                 // a pass-by-value of stream, topic. | ||||
|                 exports.unmute(meta.stream, meta.topic); | ||||
|                 animate.fadeOut(); | ||||
|             }); | ||||
|         } | ||||
|  | ||||
|         meta.stream = stream; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user