diff --git a/chrome/content/vimperator/hints.js b/chrome/content/vimperator/hints.js index 09a96d97..aee3a23b 100644 --- a/chrome/content/vimperator/hints.js +++ b/chrome/content/vimperator/hints.js @@ -503,12 +503,12 @@ function Hints() //{{{ var loc = ""; var elems = this.hintedElements(); var tmp = ""; - for(i=0; i 0) { - if (i > 0) + if (i > 0 && elems.length > 1) loc += "\n"; loc += tmp; } @@ -526,12 +526,12 @@ function Hints() //{{{ var loc = ""; var elems = this.hintedElements(); var tmp = ""; - for(i=0; i 0) { - if (i > 0) + if (i > 0 && elems.length > 1) loc += "\n"; loc += tmp; }