From 9e4456ac1b51de6eac8c30e30d1a4262af2e4132 Mon Sep 17 00:00:00 2001 From: syuilo Date: Sat, 4 Jul 2020 20:38:39 +0900 Subject: wip --- src/client/init.ts | 7 ------- 1 file changed, 7 deletions(-) (limited to 'src/client/init.ts') diff --git a/src/client/init.ts b/src/client/init.ts index 88e89cb6fc..32d6c2463c 100644 --- a/src/client/init.ts +++ b/src/client/init.ts @@ -102,13 +102,6 @@ const html = document.documentElement; html.setAttribute('lang', lang); //#endregion -// iOSでプライベートモードだとlocalStorageが使えないので既存のメソッドを上書きする -try { - localStorage.setItem('foo', 'bar'); -} catch (e) { - Storage.prototype.setItem = () => { }; // noop -} - // http://qiita.com/junya/items/3ff380878f26ca447f85 document.body.setAttribute('ontouchstart', ''); -- cgit v1.2.3-freya