From 5a50c6f78907815f819c5f966bfca2ed86bda30b Mon Sep 17 00:00:00 2001 From: ruanyf Date: Tue, 29 Apr 2014 20:21:06 +0800 Subject: [PATCH] add page flip --- js/ditto.js | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/js/ditto.js b/js/ditto.js index 7b1d615..569518b 100644 --- a/js/ditto.js +++ b/js/ditto.js @@ -36,13 +36,7 @@ function initialize() { router(); $(window).on('hashchange', router); var flip = document.querySelector('#flip'); - var hasTouch = 'ontouchstart' in window; - - if (!hasTouch) { - Veil(flip, { - prop: 'bottom' - }); - } + Veil(flip, {prop: 'bottom'}); } function init_sidebar_section() {