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;
|
||||
$: {
|
||||
if (browser) {
|
||||
authToken = document.cookie.split("=")[document.cookie.split("=").length - 1];
|
||||
$AuthTokenStore = authToken;
|
||||
}
|
||||
}
|
||||
|
||||
const toggleSettings = () => {
|
||||
showSettings = !showSettings;
|
||||
|
|
Reference in a new issue