summaryrefslogtreecommitdiff
path: root/common/content/hints.js
diff options
context:
space:
mode:
authorKris Maglione <maglione.k@gmail.com>2009-09-05 13:55:59 -0400
committerKris Maglione <maglione.k@gmail.com>2009-09-05 13:55:59 -0400
commit6a26702769f9965168fb36882a073e05074f580c (patch)
treeb454d0b11bd0e3bd67f73fe1a55f2a3c791ca61e /common/content/hints.js
parent86fe0d2d1efe3cee9b56c9facacc6a88225004b0 (diff)
downloadpentadactyl-6a26702769f9965168fb36882a073e05074f580c.tar.gz
Last commit ++
Diffstat (limited to 'common/content/hints.js')
-rw-r--r--common/content/hints.js7
1 files changed, 4 insertions, 3 deletions
diff --git a/common/content/hints.js b/common/content/hints.js
index b2fb276f..9646d3f8 100644
--- a/common/content/hints.js
+++ b/common/content/hints.js
@@ -558,6 +558,8 @@ function Hints() //{{{
function checkUnique()
{
+ if (hintNumber == 0)
+ return;
if (hintNumber > validHints.length)
return void liberator.beep();
@@ -962,9 +964,8 @@ function Hints() //{{{
}
else if (validHints.length == 1)
processHints(false);
- // FIXME: I don't understand the intent here --djk
- //else
- // checkUnique();
+ else // Ticket #185
+ checkUnique();
},
/**