diff --git a/common/content/hints.js b/common/content/hints.js index 4095d721..b885d337 100644 --- a/common/content/hints.js +++ b/common/content/hints.js @@ -142,13 +142,12 @@ function Hints() //{{{ * If it finds a hint it returns it, if the hint is not the caption of the * element it will return showtext=true. * - * @param {Object} elem The element. - * @param {string} tagname Its tagname. - * @param {Document} doc The document it is in. + * @param {Object} elem The element used to generate hint text. + * @param {Document} doc The containing document. * * @returns [text, showtext] */ - function getInputHint(elem, tagname, doc) + function getInputHint(elem, doc) { // Always use the value // Use the value if it is not numeric or label or name @@ -157,10 +156,10 @@ function Hints() //{{{ // Use the alt text if present (showtext) or label or name // Never gets here //