add warning text about private browsing (#509)

This commit is contained in:
Nolan Lawson 2018-08-28 06:44:58 -07:00 committed by GitHub
parent 120f50919e
commit 6d50c65352
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -45,7 +45,8 @@ export async function logInToInstance () {
console.error(err)
let error = `${err.message || err.name}. ` +
(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?`)
let { instanceNameInSearch } = store.get()
store.set({