Browse Source

Merge pull request #498 from daylerees/anbu-jquery-fix

Anbu jquery fix
Taylor Otwell 12 years ago
parent
commit
943309e00a
2 changed files with 9 additions and 1 deletions
  1. 6 1
      laravel/profiling/profiler.css
  2. 3 0
      laravel/profiling/profiler.js

+ 6 - 1
laravel/profiling/profiler.css

@@ -21,7 +21,12 @@ background-repeat:no-repeat;
 background-position:5px -8px;
 }
 
-.anbu-tabs li:first-child
+.anbu.hidden .anbu-tabs
+{
+	background-image:none;
+}
+
+#anbu-open-tabs li:first-child
 {
 	margin-left:6em;
 }

+ 3 - 0
laravel/profiling/profiler.js

@@ -116,6 +116,7 @@ var anbu = {
 				anbu.el.open_tabs.fadeIn(200);
 			})
 			anbu.el.main.animate({width: '100%'}, 700);
+			anbu.el.main.removeClass('hidden');
 	},
 
 	// HIDE()
@@ -124,9 +125,11 @@ var anbu = {
 
 	hide : function ()
 	{
+		
 		anbu.close_window();
 		anbu.el.window.slideUp(400, function () {
 			anbu.close_window();
+			anbu.el.main.addClass('hidden');
 			anbu.el.open_tabs.fadeOut(200, function () {
 				anbu.el.closed_tabs.fadeIn(200);
 			})