Skip to content

Commit

Permalink
Revise comment to avoid confusing use of the term _blank_
Browse files Browse the repository at this point in the history
  • Loading branch information
robertknight committed Jan 26, 2022
1 parent 7f32c5e commit 40d3fa8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/annotator/integrations/vitalsource.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,10 @@ export class VitalSourceContainerIntegration {

/** @param {HTMLIFrameElement} frame */
const injectIfContentReady = frame => {
// Check if this frame contains ebook content, as opposed to being a
// "blank" frame containing encrypted book content, as hidden text,
// which is created initially after a chapter navigation. These "blank"
// pages are replaced with the real content after a form submission.
// Check if this frame contains decoded ebook content, as opposed to
// invisible and encrypted book content, which is created initially after a
// chapter navigation. These encrypted pages are replaced with the real
// content after a form submission.
//
// The format of the decoded HTML can vary, but as a simple heuristic,
// we look for a text paragraph.
Expand Down

0 comments on commit 40d3fa8

Please sign in to comment.