From 22667bf15d6c63991ef0b4e92d41b3a6f8381fa7 Mon Sep 17 00:00:00 2001 From: Josh Soref Date: Thu, 19 Mar 2020 20:32:08 -0400 Subject: [PATCH] spelling: threshold --- src/js/controller/FramesListController.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/js/controller/FramesListController.js b/src/js/controller/FramesListController.js index 09030281..000d707b 100644 --- a/src/js/controller/FramesListController.js +++ b/src/js/controller/FramesListController.js @@ -71,16 +71,16 @@ var scrollerHeight = scroller.offsetHeight; var scrollTop = scroller.scrollTop; var scrollerContentHeight = this.previewList.offsetHeight; - var treshold = this.container.querySelector('.top-overflow').offsetHeight; + var threshold = this.container.querySelector('.top-overflow').offsetHeight; var overflowTop = false; var overflowBottom = false; if (scrollerHeight < scrollerContentHeight) { - if (scrollTop > treshold) { + if (scrollTop > threshold) { overflowTop = true; } var scrollBottom = (scrollerContentHeight - scrollTop) - scrollerHeight; - if (scrollBottom > treshold) { + if (scrollBottom > threshold) { overflowBottom = true; } }