summaryrefslogtreecommitdiff
path: root/src/client/init.ts
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2020-07-04 20:38:39 +0900
committersyuilo <syuilotan@yahoo.co.jp>2020-07-04 20:38:39 +0900
commit9e4456ac1b51de6eac8c30e30d1a4262af2e4132 (patch)
tree9abf1b2888ba23fef5c0fcab09b0bb61aab65ca0 /src/client/init.ts
parentwip (diff)
downloadmisskey-9e4456ac1b51de6eac8c30e30d1a4262af2e4132.tar.gz
misskey-9e4456ac1b51de6eac8c30e30d1a4262af2e4132.tar.bz2
misskey-9e4456ac1b51de6eac8c30e30d1a4262af2e4132.zip
wip
Diffstat (limited to 'src/client/init.ts')
-rw-r--r--src/client/init.ts7
1 files changed, 0 insertions, 7 deletions
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', '');