From: Alexander Moisseev Date: Thu, 5 Jul 2018 06:27:40 +0000 (+0300) Subject: [Minor] JS: Move dots to the same lines as the properties X-Git-Tag: 1.7.8~26^2~14 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b6570edbce3c256808e831bd410c2e66bb7cafa9;p=thirdparty%2Frspamd.git [Minor] JS: Move dots to the same lines as the properties --- diff --git a/interface/js/app/history.js b/interface/js/app/history.js index 4f5f7b4d50..2d8c739fb9 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": {