From 1c38ca2e2b4698d9a7abaa658a34fd368dc50a44 Mon Sep 17 00:00:00 2001 From: Corey Farwell Date: Mon, 19 Feb 2018 18:46:55 -0500 Subject: [PATCH] keep shared code in-sync --- src/options.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/options.js b/src/options.js index a3d4873..9b10ad8 100644 --- a/src/options.js +++ b/src/options.js @@ -30,7 +30,7 @@ const localStorageGet = (keys) => { const defaultTabLimit = 10; const tabLimitStorageKey = "tab-limit"; const getTabLimit = () => localStorageGet(tabLimitStorageKey).then(results => { - return results[tabLimitStorageKey] || defaultTabLimit; + return +results[tabLimitStorageKey] || defaultTabLimit; }); // -- 2.51.2