Fixed AuthToken Input on Chrome
This commit is contained in:
parent
a09f654c93
commit
98d7bc5567
1 changed files with 3 additions and 5 deletions
|
@ -18,12 +18,10 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
let authToken: string;
|
let authToken: string;
|
||||||
$: {
|
|
||||||
if (browser) {
|
if (browser) {
|
||||||
authToken = document.cookie.split("=")[document.cookie.split("=").length - 1];
|
authToken = document.cookie.split("=")[document.cookie.split("=").length - 1];
|
||||||
$AuthTokenStore = authToken;
|
$AuthTokenStore = authToken;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
const toggleSettings = () => {
|
const toggleSettings = () => {
|
||||||
showSettings = !showSettings;
|
showSettings = !showSettings;
|
||||||
|
|
Reference in a new issue