add warning text about private browsing (#509)
This commit is contained in:
		
							parent
							
								
									120f50919e
								
							
						
					
					
						commit
						6d50c65352
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		| 
						 | 
					@ -45,7 +45,8 @@ export async function logInToInstance () {
 | 
				
			||||||
    console.error(err)
 | 
					    console.error(err)
 | 
				
			||||||
    let error = `${err.message || err.name}. ` +
 | 
					    let error = `${err.message || err.name}. ` +
 | 
				
			||||||
      (navigator.onLine
 | 
					      (navigator.onLine
 | 
				
			||||||
        ? `Is this a valid Mastodon instance? Is a browser extension blocking the request?`
 | 
					        ? `Is this a valid Mastodon instance? Is a browser extension
 | 
				
			||||||
 | 
					           blocking the request? Are you in private browsing mode?`
 | 
				
			||||||
        : `Are you offline?`)
 | 
					        : `Are you offline?`)
 | 
				
			||||||
    let { instanceNameInSearch } = store.get()
 | 
					    let { instanceNameInSearch } = store.get()
 | 
				
			||||||
    store.set({
 | 
					    store.set({
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue