From fd48568c402847df8af59166c33549f0d19feb4b Mon Sep 17 00:00:00 2001
From: Scott González <scott.gonzalez@gmail.com>
Date: Fri, 9 Nov 2012 14:52:57 -0500
Subject: Tabs: Show panels on destroy. Fixes #8795 - Tabs: 'display: none;'
 attribute is not removed from tabs when destroy is called.

---
 ui/jquery.ui.tabs.js | 2 ++
 1 file changed, 2 insertions(+)

(limited to 'ui')

diff --git a/ui/jquery.ui.tabs.js b/ui/jquery.ui.tabs.js
index 49b6d7bf1..5b5227128 100644
--- a/ui/jquery.ui.tabs.js
+++ b/ui/jquery.ui.tabs.js
@@ -716,6 +716,8 @@ $.widget( "ui.tabs", {
 			}
 		});
 
+		this.panels.show();
+
 		if ( this.options.heightStyle !== "content" ) {
 			this.panels.css( "height", "" );
 		}
-- 
cgit v1.2.3