add warning text about private browsing (#509)

pull/516/head
Nolan Lawson 2018-08-28 06:44:58 -07:00 zatwierdzone przez GitHub
rodzic 120f50919e
commit 6d50c65352
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 2 dodań i 1 usunięć

Wyświetl plik

@ -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({