]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] JS: Remove useless concatenation
authorAlexander Moisseev <moiseev@mezonplus.ru>
Thu, 5 Jul 2018 07:33:15 +0000 (10:33 +0300)
committerAlexander Moisseev <moiseev@mezonplus.ru>
Thu, 5 Jul 2018 07:33:15 +0000 (10:33 +0300)
interface/js/app/history.js

index a17c237ba1383fd8a35ffdd5fca4168bca92c69d..e11ec7dcaa4fda183d56a0a636db6e8437d4f408 100644 (file)
@@ -158,12 +158,12 @@ define(["jquery", "footable", "humanize"],
                         var sym = item.symbols[key];
 
                         if (sym.description) {
-                            var str = "<strong><abbr data-sym-key=\"" + key + "\">" + sym.name + "</abbr></strong>" + "(" + sym.score + ")";
+                            var 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 + ")";
+                            var str = "<strong>" + sym.name + "</strong>(" + sym.score + ")";
                         }
 
                         if (sym.options) {