mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-03 21:43:21 +00:00 
			
		
		
		
	js: Fix some minor whitespace issues.
This commit is contained in:
		@@ -203,7 +203,7 @@ function send_delayed_stream_message(stream, topic, content, delay) {
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
function disable_event_handlers() {
 | 
			
		||||
    $('body').css({overflow:'hidden'}); // prevents scrolling the feed
 | 
			
		||||
    $('body').css({overflow: 'hidden'}); // prevents scrolling the feed
 | 
			
		||||
    _.each(["keydown", "keyup", "keypress", "scroll"], function (event_name) {
 | 
			
		||||
        var existing_events = $._data(document, "events")[event_name];
 | 
			
		||||
        if (existing_events === undefined) {
 | 
			
		||||
@@ -215,7 +215,7 @@ function disable_event_handlers() {
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
function enable_event_handlers() {
 | 
			
		||||
    $('body').css({overflow:'auto'}); // enables scrolling the feed
 | 
			
		||||
    $('body').css({overflow: 'auto'}); // enables scrolling the feed
 | 
			
		||||
    _.each(["keydown", "keyup", "keypress", "scroll"], function (event_name) {
 | 
			
		||||
        $._data(document, "events")[event_name] = event_handlers[event_name];
 | 
			
		||||
    });
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user