From e4f45ac2858d65473180745c6de6534f1a486215 Mon Sep 17 00:00:00 2001 From: BradBaker Date: Fri, 8 Jan 2016 16:09:45 -0800 Subject: [PATCH] simplifying tooltip code --- panoramix/static/panoramix.css | 3 +++ panoramix/static/panoramix.js | 6 ------ 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/panoramix/static/panoramix.css b/panoramix/static/panoramix.css index b6c120f906144..9e89426ddd57b 100644 --- a/panoramix/static/panoramix.css +++ b/panoramix/static/panoramix.css @@ -230,3 +230,6 @@ img.loading { div.header { font-weight: bold; } +li.widget { + z-index: 1000; +} diff --git a/panoramix/static/panoramix.js b/panoramix/static/panoramix.js index 17598acc5644b..141145d6316bf 100644 --- a/panoramix/static/panoramix.js +++ b/panoramix/static/panoramix.js @@ -321,12 +321,6 @@ var px = (function() { css = $(this).val(); $("#user_style").html(css); }); - - // this sets the z-index for left side boxes higher - $('li.widget').each(function() { - current_col = $(this).attr('data-col'); - $( this ).css('z-index', 100 - current_col); - }); } // Export public functions