Fixed view error with box item in visual console. Ticket #2744

This commit is contained in:
Arturo Gonzalez Diaz 2015-09-24 10:13:56 +02:00
parent c8a2782496
commit 9bb3ef098b
1 changed files with 2 additions and 2 deletions

View File

@ -158,8 +158,8 @@ function draw_user_lines_read() {
function center_labels() {
jQuery.each($(".item"), function(i, item) {
if ($(item).width() > $("img", item).width()) {
if ($(item).width() > $("img", item).width() && ($("img", item).width() != null)) {
dif_width = $(item).width() - $("img", item).width();
x = parseInt($(item).css("left"));