From 38fa9f78f1e6053c145819d4223735297d79cc59 Mon Sep 17 00:00:00 2001 From: Matthew Hodgson Date: Sat, 22 Apr 2017 02:17:22 +0100 Subject: [PATCH] prefix localstorage key as per the convention --- src/vector/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/vector/index.js b/src/vector/index.js index 043df5b47..0d704d995 100644 --- a/src/vector/index.js +++ b/src/vector/index.js @@ -263,7 +263,7 @@ async function loadApp() { configError = e; } - if (window.localStorage && window.localStorage.getItem('accepts_unsupported_browser')) { + if (window.localStorage && window.localStorage.getItem('mx_accepts_unsupported_browser')) { console.log('User has previously accepted risks in using an unsupported browser'); validBrowser = true; } @@ -299,7 +299,7 @@ async function loadApp() { var CompatibilityPage = sdk.getComponent("structures.CompatibilityPage"); window.matrixChat = ReactDOM.render(