Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 3 additions & 14 deletions assets/js/vendor/post-header-animationsb146.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,25 +46,14 @@
}
}

function touchmove(e) {
preventDefault(e);
}

function wheel(e) {
// for IE
//if( ie ) {
//preventDefault(e);
//}
}

function disable_scroll() {
window.onmousewheel = document.onmousewheel = wheel;
document.onkeydown = keydown;
document.body.ontouchmove = touchmove;
window.addEventListener( 'touchmove', scrollPage );
}

function enable_scroll() {
window.onmousewheel = document.onmousewheel = document.onkeydown = document.body.ontouchmove = null;
window.removeEventListener( 'touchmove', scrollPage );
}

var docElem = window.document.documentElement,
Expand Down Expand Up @@ -147,4 +136,4 @@

}

})();
})();