Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
vojtesaak committed Jul 10, 2018
1 parent 93a2eb0 commit 92d590e
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 @@ -879,6 +879,7 @@ var wheel = function(i) {

var touch = function(i) {
console.warn("---", env);
alert("ok");
if (!env.supportsTouch && !env.supportsIePointer) {
return;
}
Expand Down Expand Up @@ -960,7 +961,6 @@ var touch = function(i) {
if (!i.settings.swipePropagation) {
e.stopPropagation();
}
alert("ok");
var touch = getTouch(e);

startOffset.pageX = touch.pageX;
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 @@ -877,6 +877,7 @@ var wheel = function(i) {

var touch = function(i) {
console.warn("---", env);
alert("ok");
if (!env.supportsTouch && !env.supportsIePointer) {
return;
}
Expand Down Expand Up @@ -958,7 +959,6 @@ var touch = function(i) {
if (!i.settings.swipePropagation) {
e.stopPropagation();
}
alert("ok");
var touch = getTouch(e);

startOffset.pageX = touch.pageX;
Expand Down
2 changes: 1 addition & 1 deletion dist/perfect-scrollbar.js
Original file line number Diff line number Diff line change
Expand Up @@ -883,6 +883,7 @@ var wheel = function(i) {

var touch = function(i) {
console.warn("---", env);
alert("ok");
if (!env.supportsTouch && !env.supportsIePointer) {
return;
}
Expand Down Expand Up @@ -964,7 +965,6 @@ var touch = function(i) {
if (!i.settings.swipePropagation) {
e.stopPropagation();
}
alert("ok");
var touch = getTouch(e);

startOffset.pageX = touch.pageX;
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 @@ -5,6 +5,7 @@ import { env } from '../lib/util';

export default function(i) {
console.warn(`---`, env)
alert(`ok`)
if (!env.supportsTouch && !env.supportsIePointer) {
return;
}
Expand Down Expand Up @@ -86,7 +87,6 @@ export default function(i) {
if (!i.settings.swipePropagation) {
e.stopPropagation();
}
alert(`ok`)
const touch = getTouch(e);

startOffset.pageX = touch.pageX;
Expand Down

0 comments on commit 92d590e

Please sign in to comment.