Skip to content

Commit

Permalink
Fixed styling issues & indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Zhong Huiwen committed Aug 18, 2018
1 parent da7ed4d commit 499be3e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions inobounce.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/* eslint-disable */ // REMOVEEEEE
/*! iNoBounce - v0.1.6
* https://github.com/lazd/iNoBounce/
* Copyright (c) 2013 Larry Davis <[email protected]>; Licensed BSD */
Expand Down Expand Up @@ -46,8 +45,8 @@
}

var scrolling = style.getPropertyValue('-webkit-overflow-scrolling');
var overflowY = style.getPropertyValue('overflow-y');
var overflowX = style.getPropertyValue('overflow-x');
var overflowY = style.getPropertyValue('overflow-y');
var overflowX = style.getPropertyValue('overflow-x');
var height = parseInt(style.getPropertyValue('height'), 10);

// Determine if the element should scroll
Expand All @@ -58,7 +57,8 @@

if (overflowY === 'auto' || overflowY === 'scroll') {
horScroll(evt, height, el)
} else {
}
else {
vertScroll(evt)
}

Expand Down

0 comments on commit 499be3e

Please sign in to comment.