Fixed view error with box item in visual console. Ticket #2744
This commit is contained in:
parent
c8a2782496
commit
9bb3ef098b
|
@ -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"));
|
||||
|
|
Loading…
Reference in New Issue