mirror of
				https://github.com/ohwgiles/laminar.git
				synced 2025-06-13 12:54:29 +00:00 
			
		
		
		
	resolves #58: 'connecting' overlay not removed
Now that the 'status' message can be used also as an update
(since 2a14567), extra care has to be taken with the popup
reconnecting overlay
			
			
This commit is contained in:
		
							parent
							
								
									b1dc0d62a0
								
							
						
					
					
						commit
						d241d6757f
					
				| @ -44,6 +44,7 @@ const WebsocketHandler = function() { | ||||
|         if (!this.comp) | ||||
|           return console.error("Page component was undefined"); | ||||
|         else { | ||||
|           this.comp.$root.connected = true; | ||||
|           this.comp.$root.showNotify(msg.type, msg.data); | ||||
|           if(typeof this.comp[msg.type] === 'function') | ||||
|             this.comp[msg.type](msg.data); | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user