mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-03 21:43:21 +00:00 
			
		
		
		
	js: Normalize strings to double quotes.
Prettier would do this anyway, but it’s separated out for a more reviewable diff. Generated by ESLint. Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
		
				
					committed by
					
						
						Tim Abbott
					
				
			
			
				
	
			
			
			
						parent
						
							06691e1e45
						
					
				
				
					commit
					f3726db89a
				
			@@ -41,7 +41,7 @@ exports.message_viewport_info = function () {
 | 
			
		||||
 | 
			
		||||
exports.at_bottom = function () {
 | 
			
		||||
    const bottom = exports.scrollTop() + exports.height();
 | 
			
		||||
    const full_height = exports.message_pane.prop('scrollHeight');
 | 
			
		||||
    const full_height = exports.message_pane.prop("scrollHeight");
 | 
			
		||||
 | 
			
		||||
    // We only know within a pixel or two if we're
 | 
			
		||||
    // exactly at the bottom, due to browser quirkiness,
 | 
			
		||||
@@ -262,8 +262,8 @@ function make_dimen_wrapper(dimen_name, dimen_func) {
 | 
			
		||||
    };
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
exports.height = make_dimen_wrapper('height', $(exports.message_pane).height);
 | 
			
		||||
exports.width = make_dimen_wrapper('width', $(exports.message_pane).width);
 | 
			
		||||
exports.height = make_dimen_wrapper("height", $(exports.message_pane).height);
 | 
			
		||||
exports.width = make_dimen_wrapper("width", $(exports.message_pane).width);
 | 
			
		||||
 | 
			
		||||
exports.stop_auto_scrolling = function () {
 | 
			
		||||
    if (in_stoppable_autoscroll) {
 | 
			
		||||
@@ -426,7 +426,7 @@ exports.initialize = function () {
 | 
			
		||||
        bottom_of_feed.reset();
 | 
			
		||||
    });
 | 
			
		||||
 | 
			
		||||
    $(document).on('compose_started compose_canceled compose_finished', () => {
 | 
			
		||||
    $(document).on("compose_started compose_canceled compose_finished", () => {
 | 
			
		||||
        bottom_of_feed.reset();
 | 
			
		||||
    });
 | 
			
		||||
};
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user