mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-22 16:57:57 +01:00
always specify the radix arg when calling parseInt rather than rely on it
'guessing' correctly
This commit is contained in:
@@ -699,7 +699,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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user