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