aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--incuri.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/incuri.js b/incuri.js
index 35f130f..7b9679d 100644
--- a/incuri.js
+++ b/incuri.js
@@ -45,7 +45,7 @@
arg = arg.arguments[0];
let num = RegExp.$2;
let quantity = !arg || isNaN(arg) ? 1 : parseInt(arg);
- let nextnum = numstr(f(parseInt(num), quantity), num.length);
+ let nextnum = numstr(f(parseInt(num, 10), quantity), num.length);
let newpart = RegExp.$1 + nextnum + RegExp.$3;
if(p == "href") {
window.content.location.href = newpart;