summaryrefslogtreecommitdiff
path: root/StoneIsland/www
diff options
context:
space:
mode:
Diffstat (limited to 'StoneIsland/www')
-rw-r--r--StoneIsland/www/css/nav.css4
-rw-r--r--StoneIsland/www/js/index.js11
2 files changed, 12 insertions, 3 deletions
diff --git a/StoneIsland/www/css/nav.css b/StoneIsland/www/css/nav.css
index 3c4e5e3e..25f4c3bb 100644
--- a/StoneIsland/www/css/nav.css
+++ b/StoneIsland/www/css/nav.css
@@ -16,11 +16,13 @@
-webkit-transform: translateZ(0) translateX(0px);
-webkit-transition: -webkit-transform 0.3s;
}
+/*
.ios #nav,
.ios #content {
top: 20px;
height: -webkit-calc(100% - 20px);
}
+ */
.nav #nav {
-webkit-transform: translateZ(0) translateX(0);
}
@@ -71,7 +73,7 @@
}
#intro .latlng {
position: absolute;
- bottom: 0; left: 0; width: 100%;
+ bottom: 5%; left: 0; width: 100%;
text-align: center;
z-index: 2
}
diff --git a/StoneIsland/www/js/index.js b/StoneIsland/www/js/index.js
index 5720dcf1..5f9ca688 100644
--- a/StoneIsland/www/js/index.js
+++ b/StoneIsland/www/js/index.js
@@ -25,11 +25,18 @@ var app = (function(){
}
app.bind = function(){
- if (window.location.href.match("8000")) { app.ready() }
- document.addEventListener('deviceready', app.ready, false)
+ if (window.cordova) {
+ document.addEventListener('deviceready', app.ready, false)
+ }
+ else {
+ app.ready()
+ }
}
app.ready = function(){
+ if (window.cordova) {
+ // cordova.plugins.Keyboard.disableScroll(true)
+ }
app.view = null
app.router = new SiteRouter ()
app.router.route()