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

always specify the radix arg when calling parseInt rather than rely on it

'guessing' correctly
This commit is contained in:
Doug Kearns
2007-11-07 11:16:53 +00:00
parent 14e4cf2f56
commit 18f6f3e8c6
5 changed files with 8 additions and 8 deletions

View File

@@ -708,7 +708,7 @@ vimperator.CommandLine = function() //{{{
case "<LeftMouse>":
if (event.originalTarget.className == "hl-URL buffer-list")
{
vimperator.tabs.select(parseInt(event.originalTarget.parentNode.parentNode.firstChild.textContent) - 1);
vimperator.tabs.select(parseInt(event.originalTarget.parentNode.parentNode.firstChild.textContent, 10) - 1);
close_window = true;
break;
}