simplify boolean assignemnt
This commit is contained in:
		@@ -11,9 +11,7 @@
 | 
				
			|||||||
		}
 | 
							}
 | 
				
			||||||
		fetch(src, { method: 'HEAD' })
 | 
							fetch(src, { method: 'HEAD' })
 | 
				
			||||||
		  .then(response => {
 | 
							  .then(response => {
 | 
				
			||||||
			  if(response.redirected){
 | 
								isredirected = response.redirected
 | 
				
			||||||
				isredirected = true
 | 
					 | 
				
			||||||
			  }
 | 
					 | 
				
			||||||
		    })
 | 
							    })
 | 
				
			||||||
	})
 | 
						})
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user