Skip to content
Permalink
Browse files

- Changed top comments wrap

- Minor change related with pp-scrollable
  • Loading branch information
alvarotrigo committed May 20, 2015
1 parent f804461 commit be9f447b32312c64c7ddb075e957fc4180981a21
Showing with 9 additions and 9 deletions.
  1. +6 −5 jquery.pagepiling.js
  2. +3 −4 jquery.pagepiling.min.js
@@ -1,13 +1,11 @@
/* ===========================================================
/**
* pagepiling.js 1.5.1
*
* https://github.com/alvarotrigo/pagePiling.js
* MIT licensed
*
* Copyright (C) 2013 alvarotrigo.com - A project by Alvaro Trigo
*
* ========================================================== */

*/
(function ($, document, window, undefined) {
'use strict';

@@ -746,11 +744,14 @@

// additional: if one of the normalScrollElements isn't within options.normalScrollElementTouchThreshold hops up the DOM chain
if ( !checkParentForNormalScrollElement(event.target) && isReallyTouch(e) ) {
event.preventDefault();

var activeSection = $('.pp-section.active');
var scrollable = isScrollable(activeSection);

if(!scrollable.length){
event.preventDefault();
}

if (!isMoving()) {
var touchEvents = getEventsPage(e);
touchEndY = touchEvents.y;

Some generated files are not rendered by default. Learn more.

0 comments on commit be9f447

Please sign in to comment.
You can’t perform that action at this time.