From fefd60add21e2f1b3cf7d5cbb5e96125126a4b35 Mon Sep 17 00:00:00 2001 From: vantezzen Date: Thu, 19 Sep 2019 11:11:05 +0200 Subject: Fix lint --- src/webview/lib/RecipeWebview.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/webview/lib') 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 { // Parse number to integer // This will correct errors that recipes may introduce, e.g. // by sending a String instead of an integer - const directInt = parseInt(direct); - const indirectInt = parseInt(indirect); + const directInt = parseInt(direct, 10); + const indirectInt = parseInt(indirect, 10); const count = { direct: directInt > 0 ? directInt : 0, -- cgit v1.2.3-54-g00ecf