]> arthur.barton.de Git - netdata.git/commitdiff
no space between icon and menu
authorCosta Tsaousis (ktsaou) <costa@tsaousis.gr>
Sat, 3 Sep 2016 14:37:03 +0000 (17:37 +0300)
committerCosta Tsaousis (ktsaou) <costa@tsaousis.gr>
Sat, 3 Sep 2016 14:37:03 +0000 (17:37 +0300)
web/index.html

index 940388712438120d12651a18e148681305bafaf8..a6d31aaa087177ade0b57b9d69a2722436f3ef6c 100644 (file)
@@ -2065,7 +2065,7 @@ function anyAttribute(obj, attr, key, def) {
 function menuTitle(chart) {
     if(typeof chart.menu_pattern !== 'undefined') {
         return (anyAttribute(menuData, 'title', chart.menu_pattern, chart.menu_pattern).toString()
-                + ' ' + chart.type.slice(-(chart.type.length - chart.menu_pattern.length - 1)).toString()).replace(/_/g, ' ');
+                + '&nbsp;' + chart.type.slice(-(chart.type.length - chart.menu_pattern.length - 1)).toString()).replace(/_/g, ' ');
     }
 
     return (anyAttribute(menuData, 'title', chart.menu, chart.menu)).toString().replace(/_/g, ' ');