diff options
| author | taehoon <th.dev91@gmail.com> | 2019-03-28 15:50:53 -0400 |
|---|---|---|
| committer | taehoon <th.dev91@gmail.com> | 2019-05-03 11:40:06 -0400 |
| commit | 0bb82478229b19adae998b9a32b05bcaa4ed0a4f (patch) | |
| tree | b9f35f450ff042d3ef7eab6384fe169a4b0b188c /src/App.js | |
| parent | e97f8a4728bdc224b683242ca446c23a4e4ba5d1 (diff) | |
fix double scrollbar display bug in mobile
Diffstat (limited to 'src/App.js')
| -rw-r--r-- | src/App.js | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -39,7 +39,14 @@ export default { window.CSS.supports('-moz-mask-size', 'contain') || window.CSS.supports('-ms-mask-size', 'contain') || window.CSS.supports('-o-mask-size', 'contain') - ) + ), + isMobile: navigator.userAgent.match(/Android/i) || + navigator.userAgent.match(/webOS/i) || + navigator.userAgent.match(/iPhone/i) || + navigator.userAgent.match(/iPad/i) || + navigator.userAgent.match(/iPod/i) || + navigator.userAgent.match(/BlackBerry/i) || + navigator.userAgent.match(/Windows Phone/i) }), created () { // Load the locale from the storage |
