diff options
Diffstat (limited to 'interface/js/app/history.js')
-rw-r--r-- | interface/js/app/history.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/interface/js/app/history.js b/interface/js/app/history.js index 573a21407..b264df67a 100644 --- a/interface/js/app/history.js +++ b/interface/js/app/history.js @@ -158,15 +158,16 @@ define(["jquery", "footable", "humanize"], preprocess_item(item); Object.keys(item.symbols).map(function (key) { + var str; var sym = item.symbols[key]; if (sym.description) { - var str = "<strong><abbr data-sym-key=\"" + key + "\">" + sym.name + "</abbr></strong>(" + sym.score + ")"; + str = "<strong><abbr data-sym-key=\"" + key + "\">" + sym.name + "</abbr></strong>(" + sym.score + ")"; // Store description for tooltip symbolDescriptions[key] = sym.description; } else { - var str = "<strong>" + sym.name + "</strong>(" + sym.score + ")"; + str = "<strong>" + sym.name + "</strong>(" + sym.score + ")"; } if (sym.options) { |