diff --git a/src/client/init.ts b/src/client/init.ts index 7a0339d377..4d71ea819a 100644 --- a/src/client/init.ts +++ b/src/client/init.ts @@ -98,9 +98,6 @@ const html = document.documentElement; html.setAttribute('lang', lang); //#endregion -// http://qiita.com/junya/items/3ff380878f26ca447f85 -document.body.setAttribute('ontouchstart', ''); - // アプリ基底要素マウント document.body.innerHTML = '
'; diff --git a/src/server/web/views/base.pug b/src/server/web/views/base.pug index 76114e6f5a..3a81df78bb 100644 --- a/src/server/web/views/base.pug +++ b/src/server/web/views/base.pug @@ -61,7 +61,8 @@ html document.documentElement.style.backgroundImage = `url(${wallpaper})`; } - body + //- https://qiita.com/junya/items/3ff380878f26ca447f85 + body(ontouchstart='') noscript: p | JavaScriptを有効にしてください br