add page flip

This commit is contained in:
ruanyf
2014-04-29 20:21:06 +08:00
parent 0adf5ed2c7
commit 5a50c6f789
+1 -7
View File
@@ -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() {