diff options
-rw-r--r-- | .eslintrc.json | 1 | ||||
-rw-r--r-- | interface/js/app/history.js | 4 |
2 files changed, 2 insertions, 3 deletions
diff --git a/.eslintrc.json b/.eslintrc.json index 8f33f636c..ccd26cc74 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -56,7 +56,6 @@ // Temporarily disabled rules - "array-callback-return": "off", "array-element-newline": "off", "consistent-this": "off", "func-style": "off", diff --git a/interface/js/app/history.js b/interface/js/app/history.js index 265894188..68e66924e 100644 --- a/interface/js/app/history.js +++ b/interface/js/app/history.js @@ -68,7 +68,7 @@ define(["jquery", "footable", "humanize"], escape_HTML_array(item[prop]); break; case "symbols": - Object.keys(item.symbols).map(function (key) { + Object.keys(item.symbols).forEach(function (key) { var sym = item.symbols[key]; if (!sym.name) { sym.name = key; @@ -156,7 +156,7 @@ define(["jquery", "footable", "humanize"], } preprocess_item(item); - Object.keys(item.symbols).map(function (key) { + Object.keys(item.symbols).forEach(function (key) { var str = null; var sym = item.symbols[key]; |