From 499be3ee659cdc8b731d0809fd004c5bb26eab10 Mon Sep 17 00:00:00 2001 From: Zhong Huiwen Date: Sat, 18 Aug 2018 10:11:23 +0800 Subject: [PATCH] Fixed styling issues & indentation --- inobounce.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/inobounce.js b/inobounce.js index 3b69f93..c1a9b14 100644 --- a/inobounce.js +++ b/inobounce.js @@ -1,4 +1,3 @@ -/* eslint-disable */ // REMOVEEEEE /*! iNoBounce - v0.1.6 * https://github.com/lazd/iNoBounce/ * Copyright (c) 2013 Larry Davis ; 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) }