Allow streaming to work in background
This commit is contained in:
		
							parent
							
								
									06470f7742
								
							
						
					
					
						commit
						5892e0f0b1
					
				| 
						 | 
				
			
			@ -398,6 +398,7 @@
 | 
			
		|||
        })
 | 
			
		||||
        fetchEventSource(getApiBase() + getEndpointCompletions(), {
 | 
			
		||||
          ...fetchOptions,
 | 
			
		||||
          openWhenHidden: true,
 | 
			
		||||
          onmessage (ev) {
 | 
			
		||||
            // Remove updating indicator
 | 
			
		||||
            updating = 1 // hide indicator, but still signal we're updating
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue