Skip to content

Commit a193ea8

Browse files
committed
- Updated version and dist files
1 parent 103df2a commit a193ea8

11 files changed

+22
-16
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<a href="http://alvarotrigo.com/fullPage/utils/wordpress-y-theme.html"><img src="http://alvarotrigo.com/fullPage/imgs/wodpress-y-theme-fullpage1.png" /></a>
1212
</p>
1313

14-
![fullPage.js version](http://img.shields.io/badge/fullPage.js-v2.8.9-brightgreen.svg)
14+
![fullPage.js version](http://img.shields.io/badge/fullPage.js-v2.9.0-brightgreen.svg)
1515
[![License](http://img.shields.io/badge/License-MIT-blue.svg)](http://opensource.org/licenses/MIT)
1616
7Kb gziped!
1717

README_SPANISH.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<a href="http://alvarotrigo.com/fullPage/utils/wordpress-y-theme.html"><img src="http://alvarotrigo.com/fullPage/imgs/wodpress-y-theme-fullpage1.png" /></a>
1212
</p>
1313

14-
![fullPage.js version](http://img.shields.io/badge/fullPage.js-v2.8.8-brightgreen.svg)
14+
![fullPage.js version](http://img.shields.io/badge/fullPage.js-v2.9.0-brightgreen.svg)
1515
[![License](http://img.shields.io/badge/License-MIT-blue.svg)](http://opensource.org/licenses/MIT)
1616
7Kb en gzip!
1717

dist/jquery.fullpage.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* fullPage 2.8.9
2+
* fullPage 2.9.0
33
* https://github.com/alvarotrigo/fullPage.js
44
* MIT licensed
55
*

dist/jquery.fullpage.js

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@
228228
* It changes the scroll bar visibility and the history of the site as a result.
229229
*/
230230
function setAutoScrolling(value, type){
231-
//removing the transformation
231+
//removing the transformation
232232
if(!value){
233233
silentScroll(0);
234234
}
@@ -1826,6 +1826,11 @@
18261826
function onkeydown(e){
18271827
var shiftPressed = e.shiftKey;
18281828

1829+
//do nothing if we can not scroll or we are not using horizotnal key arrows.
1830+
if(!canScroll && [37,39].indexOf(e.which) < 0){
1831+
return;
1832+
}
1833+
18291834
switch (e.which) {
18301835
//up
18311836
case 38:
@@ -2541,11 +2546,13 @@
25412546
* Adds the possibility to auto scroll through sections on touch devices.
25422547
*/
25432548
function addTouchHandler(){
2544-
if(options.autoScrolling && (isTouchDevice || isTouch)){
2549+
if(isTouchDevice || isTouch){
25452550
//Microsoft pointers
25462551
var MSPointer = getMSPointer();
25472552

2548-
$body.off('touchmove ' + MSPointer.move).on('touchmove ' + MSPointer.move, preventBouncing);
2553+
if(options.autoScrolling){
2554+
$body.off('touchmove ' + MSPointer.move).on('touchmove ' + MSPointer.move, preventBouncing);
2555+
}
25492556

25502557
$(WRAPPER_SEL)
25512558
.off('touchstart ' + MSPointer.down).on('touchstart ' + MSPointer.down, touchStartHandler)
@@ -2634,7 +2641,7 @@
26342641
// The first section can have a negative value in iOS 10. Not quite sure why: -0.0142822265625
26352642
// that's why we round it to 0.
26362643
var roundedTop = Math.round(top);
2637-
2644+
26382645
if (options.css3 && options.autoScrolling && !options.scrollBar){
26392646
var translate3d = 'translate3d(0px, -' + roundedTop + 'px, 0px)';
26402647
transformContainer(translate3d, false);

dist/jquery.fullpage.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/jquery.fullpage.min.css.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/jquery.fullpage.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/jquery.fullpage.min.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

jquery.fullPage.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* fullPage 2.8.9
2+
* fullPage 2.9.0
33
* https://github.com/alvarotrigo/fullPage.js
44
* MIT licensed
55
*

jquery.fullPage.min.js

Lines changed: 2 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "fullpage.js",
3-
"version": "2.8.9",
3+
"version": "2.9.0",
44
"description": "Create beautiful fullscreen scrolling websites",
55
"main": "dist/jquery.fullpage.js",
66
"scripts": {

0 commit comments

Comments
 (0)