1
0
mirror of https://github.com/ruanyf/es6tutorial.git synced 2025-05-24 10:22:23 +00:00

add page flip

This commit is contained in:
ruanyf 2014-04-29 20:21:06 +08:00
parent 0adf5ed2c7
commit 5a50c6f789

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() {