From a04cf2706ff221b5f8c9a54192db35968a28d821 Mon Sep 17 00:00:00 2001 From: bradmbaker Date: Wed, 6 Jan 2016 15:49:49 -0800 Subject: [PATCH] Update tooltips with new classes The li classes changed, so I'm updating so that the tooltip overflow works. I also changed a variable name to be correct. --- panoramix/static/panoramix.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/panoramix/static/panoramix.js b/panoramix/static/panoramix.js index 7336a73b3..43bfaddbe 100644 --- a/panoramix/static/panoramix.js +++ b/panoramix/static/panoramix.js @@ -323,9 +323,9 @@ var px = (function() { }); // this sets the z-index for left side boxes higher - $('li.slice').each(function() { - current_row = $(this).attr('data-col'); - $( this ).css('z-index', 100 - current_row); + $('li.widget').each(function() { + current_col = $(this).attr('data-col'); + $( this ).css('z-index', 100 - current_col); }); // this makes the whole chart fit within the dashboard div