1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-23 21:12:27 +01:00

fix v.hints.currentState and hintedElements properties being called as

functions
This commit is contained in:
Doug Kearns
2007-11-24 13:37:02 +00:00
parent 591b606b5c
commit 035ff4b12e
3 changed files with 7 additions and 7 deletions

View File

@@ -541,7 +541,7 @@ vimperator.Events = function () //{{{
var map = vimperator.mappings.get(vimperator.modes.HINTS, key);
if (map)
{
if (map.alwaysActive || vimperator.hints.currentState() == 1)
if (map.alwaysActive || vimperator.hints.currentState == 1)
{
map.execute(null, vimperator.input.count);
if (map.cancelMode) // stop processing this event
@@ -562,7 +562,7 @@ vimperator.Events = function () //{{{
}
// no mapping found, beep()
if (vimperator.hints.currentState() == 1)
if (vimperator.hints.currentState == 1)
{
vimperator.beep();
vimperator.hints.disableHahMode();