mirror of
https://github.com/Codeux-Software/Textual.git
synced 2026-06-16 13:24:32 +00:00
Fix many, many typos
Import external libraries with similar fixes as well
This commit is contained in:
@@ -223,5 +223,5 @@ window.addEventListener("resize", _TextualScroller._documentResizedCallback, fal
|
||||
|
||||
document.addEventListener("visibilitychange", _TextualScroller._documentVisibilityChangedCallback, false);
|
||||
|
||||
/* Populate initial visiblity state and maybe create timer */
|
||||
/* Populate initial visibility state and maybe create timer */
|
||||
_TextualScroller._documentVisibilityChangedCallback();
|
||||
|
||||
@@ -75,7 +75,7 @@ _TextualScroller._documentScrolledCallback = function() /* PRIVATE */
|
||||
{
|
||||
var scrolledElement = _TextualScroller._scrolledElement;
|
||||
|
||||
/* Height of scrollabe area */
|
||||
/* Height of scrollable area */
|
||||
var scrollHeightPrevious = TextualScroller.scrollHeightCurrentValue;
|
||||
|
||||
var scrollHeightCurrent = scrolledElement.scrollHeight;
|
||||
@@ -90,7 +90,7 @@ _TextualScroller._documentScrolledCallback = function() /* PRIVATE */
|
||||
/* If nothing changed, we ignore the event.
|
||||
It is possible to receive a scroll event but nothing changes
|
||||
because we ignore elastic scrolling. User can reach bottom,
|
||||
elsastic scroll, then bounce back. We get notification for
|
||||
elastic scroll, then bounce back. We get notification for
|
||||
both times we reach bottom, but values do not change. */
|
||||
if (scrollHeightPrevious === scrollHeightCurrent &&
|
||||
scrollPositionPrevious === scrollPositionCurrent)
|
||||
|
||||
Reference in New Issue
Block a user