mirror of
				https://github.com/TriliumNext/Notes.git
				synced 2025-10-31 04:51:31 +08:00 
			
		
		
		
	fix browser error
This commit is contained in:
		
							parent
							
								
									379431eefd
								
							
						
					
					
						commit
						c371ffb597
					
				| @ -116,7 +116,7 @@ function initAjax() { | |||||||
|     $.ajaxSetup({ |     $.ajaxSetup({ | ||||||
|         headers: { |         headers: { | ||||||
|             'x-browser-id': browserId, |             '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…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 azivner
						azivner