From 66b7bdb02806e49647641cef762bdfafcd7638cf Mon Sep 17 00:00:00 2001 From: Alexander Moisseev Date: Wed, 4 Jul 2018 12:39:58 +0300 Subject: [PATCH] [Minor] JS: Fix indentation --- interface/js/app/history.js | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/interface/js/app/history.js b/interface/js/app/history.js index 4280e5854..00fdc9528 100644 --- a/interface/js/app/history.js +++ b/interface/js/app/history.js @@ -158,12 +158,12 @@ define(["jquery", "footable", "humanize"], var sym = item.symbols[key]; if (sym.description) { - var str = "" + sym.name + "" + "(" + sym.score + ")"; + var str = "" + sym.name + "" + "(" + sym.score + ")"; - // Store description for tooltip - symbolDescriptions[key] = sym.description; + // Store description for tooltip + symbolDescriptions[key] = sym.description; } else { - var str = "" + sym.name + "" + "(" + sym.score + ")"; + var str = "" + sym.name + "" + "(" + sym.score + ")"; } if (sym.options) { @@ -518,9 +518,9 @@ define(["jquery", "footable", "humanize"], var self = e.data.self, selected = $(this).val(); if (selected !== self.def) { if(selected === "reject"){ - self.addFilter("action", "reject -soft", ["action"]); + self.addFilter("action", "reject -soft", ["action"]); } else { - self.addFilter("action", selected, ["action"]); + self.addFilter("action", selected, ["action"]); } } else { self.removeFilter("action"); @@ -604,10 +604,10 @@ define(["jquery", "footable", "humanize"], "filtering": FooTable.actionFilter }, "on": { - "ready.ft.table": drawTooltips, - "after.ft.sorting": drawTooltips, - "after.ft.paging": drawTooltips, - "after.ft.filtering": drawTooltips + "ready.ft.table": drawTooltips, + "after.ft.sorting": drawTooltips, + "after.ft.paging": drawTooltips, + "after.ft.filtering": drawTooltips } }); } else { @@ -651,10 +651,10 @@ define(["jquery", "footable", "humanize"], "filtering": FooTable.actionFilter }, "on": { - "ready.ft.table": drawTooltips, - "after.ft.sorting": drawTooltips, - "after.ft.paging": drawTooltips, - "after.ft.filtering": drawTooltips + "ready.ft.table": drawTooltips, + "after.ft.sorting": drawTooltips, + "after.ft.paging": drawTooltips, + "after.ft.filtering": drawTooltips } }); } -- 2.39.5