-
Notifications
You must be signed in to change notification settings - Fork 400
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Zhong Huiwen
committed
Aug 18, 2018
1 parent
da7ed4d
commit 499be3e
Showing
1 changed file
with
4 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 */ | ||
|
@@ -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 | ||
|
@@ -58,7 +57,8 @@ | |
|
||
if (overflowY === 'auto' || overflowY === 'scroll') { | ||
horScroll(evt, height, el) | ||
} else { | ||
} | ||
else { | ||
vertScroll(evt) | ||
} | ||
|
||
|