Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
fix browser error
azivnerc371ffb5974d
diff --git a/public/javascripts/init.js b/public/javascripts/init.jsindex c777b765f8..8517163bcb 100644--- a/public/javascripts/init.js+++ b/public/javascripts/init.js@@ -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}});}