aboutsummaryrefslogtreecommitdiffstats
path: root/src/webview/lib
diff options
context:
space:
mode:
Diffstat (limited to 'src/webview/lib')
-rw-r--r--src/webview/lib/RecipeWebview.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/webview/lib/RecipeWebview.js b/src/webview/lib/RecipeWebview.js
index cae6c7dc4..877e45e35 100644
--- a/src/webview/lib/RecipeWebview.js
+++ b/src/webview/lib/RecipeWebview.js
@@ -42,8 +42,8 @@ class RecipeWebview {
42 // Parse number to integer 42 // Parse number to integer
43 // This will correct errors that recipes may introduce, e.g. 43 // This will correct errors that recipes may introduce, e.g.
44 // by sending a String instead of an integer 44 // by sending a String instead of an integer
45 const directInt = parseInt(direct); 45 const directInt = parseInt(direct, 10);
46 const indirectInt = parseInt(indirect); 46 const indirectInt = parseInt(indirect, 10);
47 47
48 const count = { 48 const count = {
49 direct: directInt > 0 ? directInt : 0, 49 direct: directInt > 0 ? directInt : 0,