chore(img): return targetUrl as given href (#916)
Signed-off-by: Aaron <29749331+aarnphm@users.noreply.github.com>
This commit is contained in:
		@@ -61,10 +61,7 @@ async function mouseEnterHandler(
 | 
			
		||||
  switch (contentTypeCategory) {
 | 
			
		||||
    case "image":
 | 
			
		||||
      const img = document.createElement("img")
 | 
			
		||||
 | 
			
		||||
      response.blob().then((blob) => {
 | 
			
		||||
        img.src = URL.createObjectURL(blob)
 | 
			
		||||
      })
 | 
			
		||||
      img.src = targetUrl.toString()
 | 
			
		||||
      img.alt = targetUrl.pathname
 | 
			
		||||
 | 
			
		||||
      popoverInner.appendChild(img)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user