-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: determine active word based on logical value, not DOM class (…
…@NadAlaba) (#5834) * refactor: use active word based on logical value, not DOM class * use existing const instead of querying DOM activeWord.offsetTop changes when the DOM element gets updated no need to query the active word again * better naming * no need to requery DOM, we have the top of the previous word saved
- Loading branch information
Showing
2 changed files
with
20 additions
and
22 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
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