mirror of
https://github.com/zadam/trilium.git
synced 2025-01-29 10:28:02 +08:00
fix browser error
This commit is contained in:
parent
379431eefd
commit
c371ffb597
1 changed files with 1 additions and 1 deletions
|
@ -116,7 +116,7 @@ function initAjax() {
|
|||
$.ajaxSetup({
|
||||
headers: {
|
||||
'x-browser-id': browserId,
|
||||
'x-protected-session-id': protected_session ? protected_session.getProtectedSessionId() : null
|
||||
'x-protected-session-id': typeof protected_session !== 'undefined' ? protected_session.getProtectedSessionId() : null
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue