|
@@ -15,7 +15,7 @@ jQuery(document).ready(function($) {
|
|
|
// http://stackoverflow.com/questions/2890898/preventing-mouse-emulation-events-ie-click-from-touch-events-in-mobile-safari
|
|
|
// FastClick.attach(document.body);
|
|
|
|
|
|
- var _debug = true,
|
|
|
+ var _debug = false,
|
|
|
_avgDelay = 1,
|
|
|
_lastDraw = new Date,
|
|
|
_fps,
|
|
@@ -300,20 +300,6 @@ jQuery(document).ready(function($) {
|
|
|
},3000);
|
|
|
};
|
|
|
|
|
|
- // function moveToChapter(chapter){
|
|
|
-
|
|
|
- // // fake a mousdown by providing first pos as current pos
|
|
|
- // _prev_mouse_pos.x = _nav_pos.x;
|
|
|
- // _prev_mouse_pos.y = _nav_pos.y;
|
|
|
-
|
|
|
- // // calculate the second pos of faked mousemove
|
|
|
- // _nav_pos.x = - (chapter.pos.x - _center.x) - chapter.geom.w/2;
|
|
|
- // _nav_pos.y = 100 - chapter.pos.y;
|
|
|
-
|
|
|
- // startMoveNav();
|
|
|
- // stopMoveNav();
|
|
|
- // };
|
|
|
-
|
|
|
function onFullScreen(e){
|
|
|
if(_$body.is('fullscreen')){
|
|
|
exitFullscreen();
|