fix browser error

pull/255/head
azivner 2017-11-16 19:25:27 +07:00
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
}
});
}