mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-22 15:18:00 +01:00
always specify the radix arg when calling parseInt rather than rely on it
'guessing' correctly
This commit is contained in:
@@ -195,7 +195,7 @@ const vimperator = (function() //{{{
|
||||
// Number
|
||||
else if (match = string.match(/^(\d+)$/))
|
||||
{
|
||||
return parseInt(match[1]);
|
||||
return parseInt(match[1], 10);
|
||||
}
|
||||
|
||||
var reference = this.variableReference(string);
|
||||
|
||||
Reference in New Issue
Block a user