| changeset 472 | 7810c6775b2f |
| parent 456 | 0ca8b95b54fb |
| child 475 | fb7d796d52a7 |
--- a/src/ldt/ldt/static/ldt/js/Ldt_front_sparkline.js Fri Jan 27 14:37:10 2012 +0100 +++ b/src/ldt/ldt/static/ldt/js/Ldt_front_sparkline.js Fri Jan 27 15:04:59 2012 +0100 @@ -33,4 +33,11 @@ "stroke" : "#808080" }); }); + + $(".polemics li").each(function(_i,_e) { + var _sp = $(_e).find("span"); + if (parseInt(_sp.text())) { + $(_e).css("width",(2 + _sp.width())+"px"); + } + }); }); \ No newline at end of file