From b6570edbce3c256808e831bd410c2e66bb7cafa9 Mon Sep 17 00:00:00 2001 From: Alexander Moisseev Date: Thu, 5 Jul 2018 09:27:40 +0300 Subject: [PATCH] [Minor] JS: Move dots to the same lines as the properties --- interface/js/app/history.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/interface/js/app/history.js b/interface/js/app/history.js index 4f5f7b4d5..2d8c739fb 100644 --- a/interface/js/app/history.js +++ b/interface/js/app/history.js @@ -171,13 +171,13 @@ define(["jquery", "footable", "humanize"], } item.symbols[key].str = str; }); - item.symbols = Object.keys(item.symbols). - map(function(key) { + item.symbols = Object.keys(item.symbols) + .map(function(key) { return item.symbols[key]; - }). - sort(compare). - map(function(e) { return e.str; }). - join("
\n"); + }) + .sort(compare) + .map(function(e) { return e.str; }) + .join("
\n"); item.time = { "value": unix_time_format(item.unix_time), "options": { -- 2.39.5