diff --git a/common/content/hints.js b/common/content/hints.js index 60a81d3c..9a1c40c1 100644 --- a/common/content/hints.js +++ b/common/content/hints.js @@ -12,7 +12,7 @@ function Hints() //{{{ ////////////////////// PRIVATE SECTION ///////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////{{{ - const ELEM = 0, TEXT = 1, SPAN = 2, IMGSPAN = 3; + const ELEM = 0, TEXT = 1, SPAN = 2, IMG_SPAN = 3; var myModes = config.browserModes; @@ -24,7 +24,7 @@ function Hints() //{{{ var prevInput = ""; // record previous user input type, "text" || "number" var extendedhintCount; // for the count argument of Mode#action (extended hint only) - // hints[] = [elem, text, span, imgspan, elem.style.backgroundColor, elem.style.color] + // hints[] = [elem, text, span, imgSpan, elem.style.backgroundColor, elem.style.color] var pageHints = []; var validHints = []; // store the indices of the "hints" array with valid elements @@ -115,12 +115,12 @@ function Hints() //{{{ * neighbouring element might look like a label. Only called by generate(). * * If it finds a hint it returns it, if the hint is not the caption of the - * element it will return showtext=true. + * element it will return showText=true. * * @param {Object} elem The element used to generate hint text. * @param {Document} doc The containing document. * - * @returns [text, showtext] + * @returns [text, showText] */ function getInputHint(elem, doc) { @@ -128,7 +128,7 @@ function Hints() //{{{ // Use the value if it is not numeric or label or name // Never use the value, use label or name //