mirror of https://github.com/vector-im/riot-web
				
				
				
			
							parent
							
								
									1a2476609c
								
							
						
					
					
						commit
						3450e91e32
					
				| 
						 | 
				
			
			@ -8,10 +8,10 @@ function remoteRender(event: MessageEvent): void {
 | 
			
		|||
    }
 | 
			
		||||
    hasCalled = true;
 | 
			
		||||
 | 
			
		||||
    const img = document.createElement("span"); // we'll mask it as an image
 | 
			
		||||
    const img: HTMLSpanElement = document.createElement("span"); // we'll mask it as an image
 | 
			
		||||
    img.id = "img";
 | 
			
		||||
 | 
			
		||||
    const a = document.createElement("a");
 | 
			
		||||
    const a: HTMLAnchorElement = document.createElement("a");
 | 
			
		||||
    a.id = "a";
 | 
			
		||||
    a.rel = "noreferrer noopener";
 | 
			
		||||
    a.download = data.download;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue