fixed skrollr for mobile, added skrollrbody option in init

This commit is contained in:
Bachir Soussi Chiadmi 2015-06-17 18:49:11 +02:00
parent 1c1de98039
commit 65c7ab92b6

View File

@ -300,7 +300,7 @@
initCards('#home-v2 .panel-pane.news-panel .panel-col-first .views-row');
if(!_max_480()){
// if(!_max_480()){
/*
// Click Menu and scroll to part of the page
@ -366,7 +366,9 @@
.attr('data-'+i*50+'-center-center', 'opacity:1;');
});
_skrollr = skrollr.init();
_skrollr = skrollr.init({
skrollrBody:"root"
});
/*
//The options (second parameter) are all optional. The values shown are the default values.
@ -411,7 +413,7 @@
updateUrl: false //defaults to `true`.
});
*/
}
// }
};
/**