From 285d4c3173cf4dc54d150a3d6c25d201133bbf2c Mon Sep 17 00:00:00 2001 From: Doug Kearns Date: Wed, 7 Nov 2007 03:08:29 +0000 Subject: [PATCH] allow number options to be set with octal and hex values --- content/commands.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/commands.js b/content/commands.js index 64a7ee11..50f6b9fb 100644 --- a/content/commands.js +++ b/content/commands.js @@ -1753,7 +1753,7 @@ vimperator.Commands = function() //{{{ break; case "number": - value = parseInt(value, 10); + value = parseInt(value); if (isNaN(value)) {