mirror of
https://github.com/Hopiu/django-markdownx.git
synced 2026-03-16 21:40:24 +00:00
commit
89e5edf91f
3 changed files with 834 additions and 497 deletions
File diff suppressed because it is too large
Load diff
File diff suppressed because one or more lines are too long
|
|
@ -40,7 +40,7 @@ export function getCookie (name: string): string | null {
|
|||
|
||||
const cookies: string = document.cookie
|
||||
.split(';')
|
||||
.filter(cookie => cookie.indexOf(`${name}=`) !== -1)[0];
|
||||
.filter(cookie => cookie.indexOf(`${name}=`) === 0)[0];
|
||||
|
||||
try{
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue