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; }); //