From 6d50c6535269f00c8bdb3b56b6d6754b1c4767a2 Mon Sep 17 00:00:00 2001 From: Nolan Lawson Date: Tue, 28 Aug 2018 06:44:58 -0700 Subject: [PATCH] add warning text about private browsing (#509) --- routes/_actions/addInstance.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/routes/_actions/addInstance.js b/routes/_actions/addInstance.js index 69fcfc7e..f64e1d7d 100644 --- a/routes/_actions/addInstance.js +++ b/routes/_actions/addInstance.js @@ -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({