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

- fixed hints display on zoom

- fixed n and N commands (don't use closures)
This commit is contained in:
Martin Stubenschrott
2007-04-20 13:33:34 +00:00
parent 48b9f413cd
commit 2244db0ecf
7 changed files with 115 additions and 66 deletions

View File

@@ -265,7 +265,11 @@ function hit_a_hint()
function onResize(event)
{
doc = event.originalTarget;
if(event)
doc = event.originalTarget;
else
doc = window._content.document;
invalidateCoords(doc);
startCoordLoader(doc);
}
@@ -440,6 +444,18 @@ function hit_a_hint()
}
};
this.reshowHints = function()
{
onResize(null);
if (isHahModeEnabled)
{
removeHints();
createHints();
showHints(null, 0);
}
};
// this function 'click' an element, which also works