From bd00a7db0d10287b2b5d65bb9401b47108b35c10 Mon Sep 17 00:00:00 2001 From: Josh Blum Date: Sat, 30 Mar 2013 03:43:45 -0500 Subject: query: autohide for close box --- python/gras/query/chart_factory.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/python/gras/query/chart_factory.js b/python/gras/query/chart_factory.js index 0a7efbc..e4382d3 100644 --- a/python/gras/query/chart_factory.js +++ b/python/gras/query/chart_factory.js @@ -198,9 +198,10 @@ function gras_chart_factory_make(registry, args) //set the cursor on the title bar so its obvious tr_title.hover( - function(){$(this).css('cursor','move');}, - function(){$(this).css('cursor','auto');} + function(){$(this).css('cursor','move'); close_div.show();}, + function(){$(this).css('cursor','auto'); close_div.hide();} ); + close_div.hide(); } /*********************************************************************** -- cgit