Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
vojtesaak committed Jul 10, 2018
1 parent b20b7ee commit 5eb0c2c
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion dist/perfect-scrollbar.common.js
Original file line number Diff line number Diff line change
Expand Up @@ -1080,7 +1080,7 @@ var touch = function(i) {
}

function resolveSwipePropagation(e) {
if (!i.settings.swipePropagation && (isXScrollbarOnEdge() || isYScrollbarOnEdge())) {
if (!i.settings.swipePropagation && !(isXScrollbarOnEdge() || isYScrollbarOnEdge())) {
e.stopPropagation();
}
}
Expand Down
2 changes: 1 addition & 1 deletion dist/perfect-scrollbar.esm.js
Original file line number Diff line number Diff line change
Expand Up @@ -1078,7 +1078,7 @@ var touch = function(i) {
}

function resolveSwipePropagation(e) {
if (!i.settings.swipePropagation && (isXScrollbarOnEdge() || isYScrollbarOnEdge())) {
if (!i.settings.swipePropagation && !(isXScrollbarOnEdge() || isYScrollbarOnEdge())) {
e.stopPropagation();
}
}
Expand Down
2 changes: 1 addition & 1 deletion dist/perfect-scrollbar.js
Original file line number Diff line number Diff line change
Expand Up @@ -1084,7 +1084,7 @@ var touch = function(i) {
}

function resolveSwipePropagation(e) {
if (!i.settings.swipePropagation && (isXScrollbarOnEdge() || isYScrollbarOnEdge())) {
if (!i.settings.swipePropagation && !(isXScrollbarOnEdge() || isYScrollbarOnEdge())) {
e.stopPropagation();
}
}
Expand Down
2 changes: 1 addition & 1 deletion dist/perfect-scrollbar.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/handlers/touch.js
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ export default function(i) {
}

function resolveSwipePropagation(e) {
if (!i.settings.swipePropagation && (isXScrollbarOnEdge() || isYScrollbarOnEdge())) {
if (!i.settings.swipePropagation && !(isXScrollbarOnEdge() || isYScrollbarOnEdge())) {
e.stopPropagation();
}
}
Expand Down

0 comments on commit 5eb0c2c

Please sign in to comment.