From 5d68db92b37545fb03332a46b01d0f1aad8ce64b Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Thu, 17 Sep 2015 21:26:52 -0400 Subject: populate selector --- StoneIsland/platforms/ios/www/js/index.js | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'StoneIsland/platforms/ios/www/js/index.js') diff --git a/StoneIsland/platforms/ios/www/js/index.js b/StoneIsland/platforms/ios/www/js/index.js index 5f9ca688..31e78c92 100644 --- a/StoneIsland/platforms/ios/www/js/index.js +++ b/StoneIsland/platforms/ios/www/js/index.js @@ -2,6 +2,7 @@ var app = (function(){ var app = {} app.init = function(){ + app.blog = new BlogView () app.archive = new ArchiveView () app.hub = new HubView () app.story = new StoryView () @@ -37,6 +38,9 @@ var app = (function(){ if (window.cordova) { // cordova.plugins.Keyboard.disableScroll(true) } + + document.addEventListener('touchmove', function(e){ e.preventDefault() }) + app.view = null app.router = new SiteRouter () app.router.route() -- cgit v1.2.3-70-g09d2