diff --git a/common/content/hints.js b/common/content/hints.js index edb9ed67..bb9505a3 100644 --- a/common/content/hints.js +++ b/common/content/hints.js @@ -605,7 +605,7 @@ var HintSession = Class("HintSession", CommandMode, { text.push(UTF8(hint.elem.checked ? "⊙" : "○")); else if (hint.elem.type === "checkbox") text.push(UTF8(hint.elem.checked ? "☑" : "☐")); - if (hint.showText) + if (hint.showText && !/^\s*$/.test(hint.text)) text.push(hint.text.substr(0, 50)); hint.span.setAttribute("text", str + (text.length ? ": " + text.join(" ") : ""));