Skip to content

Share-selection highlight loop starts at i = 1 — the first word of the transcript can never be highlighted #267

Description

@maboa

Summary

(As of v2.6.2.) hyperaudio-lite.js:622:

for (let i = 1; i < words.length; i++) {

words[0] is never considered for the share-match class, so a shared URL whose selection starts at the very first word of the transcript renders with that word unhighlighted. The loop is otherwise inclusive by time comparison; there's no apparent reason for the offset.

Fix

Start at i = 0.

Found reviewing the copy vendored in hyperaudio-lite-editor / GliderMac (2026-07-11).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions