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

applied the hintchar patch from calmar

This commit is contained in:
Martin Stubenschrott
2007-07-04 17:32:02 +00:00
parent 5775aaaff5
commit 31f06ea516

View File

@@ -586,7 +586,7 @@ function Events() //{{{
{
// if the hint is all in UPPERCASE, open it in new tab
vimperator.input.buffer += key;
if (vimperator.input.buffer.toUpperCase() == vimperator.input.buffer)
if (/[A-Za-z]/.test(vimperator.input.buffer) && vimperator.input.buffer.toUpperCase() == vimperator.input.buffer)
vimperator.hints.openHints(true, false);
else // open in current window
vimperator.hints.openHints(false, false);