diff options
| author | s1nical <[email protected]> | 2019-08-07 21:28:43 -0700 |
|---|---|---|
| committer | s1nical <[email protected]> | 2019-08-07 21:28:43 -0700 |
| commit | 83459e16f9200dc9e7cef84894748b1774694f0c (patch) | |
| tree | 849efac2c376ae7060f91d8b7f8e9602e4aae5c9 /dev | |
| parent | update mobile detecting system (diff) | |
| download | s1n.pw-admin-83459e16f9200dc9e7cef84894748b1774694f0c.tar.xz s1n.pw-admin-83459e16f9200dc9e7cef84894748b1774694f0c.zip | |
add mobile to desktop switch
Diffstat (limited to 'dev')
| -rw-r--r-- | dev/README.todo | 5 | ||||
| -rw-r--r-- | dev/test.js | 9 |
2 files changed, 0 insertions, 14 deletions
diff --git a/dev/README.todo b/dev/README.todo deleted file mode 100644 index 68c1711..0000000 --- a/dev/README.todo +++ /dev/null @@ -1,5 +0,0 @@ -Q: What was I doing? -A: It was like 3 AM and I was trying to fix the centering issue on the new navigation bar in `css/main.scss`. - Current GitHub branch: dev - Commited?: No - Asked on Reddit?: https://www.reddit.com/r/webdev/comments/cn3vfu/i_cant_find_the_reason_my_navigation_bar_isnt/
\ No newline at end of file diff --git a/dev/test.js b/dev/test.js deleted file mode 100644 index fa8d751..0000000 --- a/dev/test.js +++ /dev/null @@ -1,9 +0,0 @@ -// This one doesn't work at the moment but I'll try to find a way to fix it. - -if (/Android|webOS|iPhone|iPad|iPod|BlackBerry|BB|PlayBook|IEMobile|Windows Phone|Kindle|Silk|Opera Mini/i.test(navigator.userAgent)) { - location.href = './mobile/'; -} else if (/Chrome|Mac|MacBook|Firefox|Mozilla|Opera|OperaGX|Avast|IE|Windows|MacOS|/i.test(navigator.userAgent)) { - location.href = './index.html'; -} else { - location.href = './index.html'; -}
\ No newline at end of file |