clean
This commit is contained in:
parent
bc867467b4
commit
9fbd6eb1e3
1 changed files with 0 additions and 10 deletions
|
|
@ -1,10 +0,0 @@
|
|||
export function isApp() {
|
||||
return navigator.userAgent.includes("evcc-app");
|
||||
}
|
||||
|
||||
export function appDetection() {
|
||||
if (isApp()) {
|
||||
const $html = document.querySelector("html");
|
||||
$html.classList.add("app");
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue