Skip to content

Commit

Permalink
remove debug
Browse files Browse the repository at this point in the history
  • Loading branch information
vojtesaak committed Jul 10, 2018
1 parent 0afa6e0 commit 642bd09
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 5 deletions.
1 change: 0 additions & 1 deletion dist/perfect-scrollbar.common.js
Original file line number Diff line number Diff line change
Expand Up @@ -725,7 +725,6 @@ var keyboard = function(i) {

var wheel = function(i) {
var element = i.element;
console.warn("--- wheel", env);
function shouldPreventDefault(deltaX, deltaY) {
var roundedScrollTop = Math.floor(element.scrollTop);
var isTop = element.scrollTop === 0;
Expand Down
1 change: 0 additions & 1 deletion dist/perfect-scrollbar.esm.js
Original file line number Diff line number Diff line change
Expand Up @@ -723,7 +723,6 @@ var keyboard = function(i) {

var wheel = function(i) {
var element = i.element;
console.warn("--- wheel", env);
function shouldPreventDefault(deltaX, deltaY) {
var roundedScrollTop = Math.floor(element.scrollTop);
var isTop = element.scrollTop === 0;
Expand Down
1 change: 0 additions & 1 deletion dist/perfect-scrollbar.js
Original file line number Diff line number Diff line change
Expand Up @@ -729,7 +729,6 @@ var keyboard = function(i) {

var wheel = function(i) {
var element = i.element;
console.warn("--- wheel", env);
function shouldPreventDefault(deltaX, deltaY) {
var roundedScrollTop = Math.floor(element.scrollTop);
var isTop = element.scrollTop === 0;
Expand Down
2 changes: 1 addition & 1 deletion dist/perfect-scrollbar.min.js

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion src/handlers/mouse-wheel.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import { env } from '../lib/util';

export default function(i) {
const element = i.element;
console.warn("--- wheel", env);
let shouldPrevent = false;

function shouldPreventDefault(deltaX, deltaY) {
Expand Down

0 comments on commit 642bd09

Please sign in to comment.