fixed skrollr for mobile, added skrollrbody option in init
This commit is contained in:
parent
1c1de98039
commit
65c7ab92b6
@ -300,7 +300,7 @@
|
|||||||
|
|
||||||
initCards('#home-v2 .panel-pane.news-panel .panel-col-first .views-row');
|
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
|
// Click Menu and scroll to part of the page
|
||||||
@ -366,7 +366,9 @@
|
|||||||
.attr('data-'+i*50+'-center-center', 'opacity:1;');
|
.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.
|
//The options (second parameter) are all optional. The values shown are the default values.
|
||||||
@ -411,7 +413,7 @@
|
|||||||
updateUrl: false //defaults to `true`.
|
updateUrl: false //defaults to `true`.
|
||||||
});
|
});
|
||||||
*/
|
*/
|
||||||
}
|
// }
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user