todolist
This commit is contained in:
@@ -70,7 +70,7 @@ export const isMiniPage = () => {
|
||||
}
|
||||
export const webpAsPng = (url) => {
|
||||
const nowebp = document.querySelector("html").classList.value.indexOf("nowebp") > -1
|
||||
return nowebp ? url.replace(".webp", ".png").replace("images/", "images/png/") : url
|
||||
return nowebp ? url.replace(".webp", ".webp").replace("images/", "images/png/") : url
|
||||
}
|
||||
export const getUserBrowersName = () => {
|
||||
const ua = navigator.userAgent
|
||||
|
||||
Reference in New Issue
Block a user