mirror of
https://github.com/sim1222/misskey.git
synced 2025-07-03 17:29:57 +09:00
wip
This commit is contained in:
@ -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', '');
|
||||
|
||||
|
Reference in New Issue
Block a user