mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-23 01:17:59 +01:00
always specify the radix arg when calling parseInt rather than rely on it
'guessing' correctly
This commit is contained in:
@@ -67,9 +67,9 @@ vimperator.Tabs = function() //{{{
|
||||
else
|
||||
{
|
||||
if (spec.match(/^([+-]\d+)$/)) // relative position +/-N
|
||||
position += parseInt(spec);
|
||||
position += parseInt(spec, 10);
|
||||
else // absolute position
|
||||
position = parseInt(spec);
|
||||
position = parseInt(spec, 10);
|
||||
}
|
||||
|
||||
if (position > last)
|
||||
|
||||
Reference in New Issue
Block a user