mirror of
https://github.com/ruanyf/es6tutorial.git
synced 2024-04-21 12:32:22 +00:00
add page flip
This commit is contained in:
+1
-7
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user