mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-04 05:53:43 +00:00 
			
		
		
		
	eslint: change no-plusplus from warning to 2 and fix violations.
This commit is contained in:
		@@ -260,7 +260,7 @@ exports.MessageList.prototype = {
 | 
			
		||||
            // for lower_bound purposes, find the real leftmost index (first non-local id)
 | 
			
		||||
            do {
 | 
			
		||||
                potential_closest_matches.push(closest);
 | 
			
		||||
                closest--;
 | 
			
		||||
                closest -= 1;
 | 
			
		||||
            } while (closest > 0 && this._is_localonly_id(items[closest - 1].id));
 | 
			
		||||
        }
 | 
			
		||||
        potential_closest_matches.push(closest);
 | 
			
		||||
@@ -308,7 +308,7 @@ exports.MessageList.prototype = {
 | 
			
		||||
                break;
 | 
			
		||||
            }
 | 
			
		||||
            next_msg_id = msg_id;
 | 
			
		||||
            ++idx;
 | 
			
		||||
            idx += 1;
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        if (next_msg_id > 0) {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user