Widgets UI improvements: arrows, some more help

git-svn-id: http://svn.automattic.com/wordpress/trunk@11166 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
azaozz
2009-05-04 01:19:10 +00:00
parent 14d3f71cf0
commit 7d778bdaca
9 changed files with 56 additions and 28 deletions

View File

@@ -6,7 +6,7 @@ wpWidgets = {
init : function() {
var rem, hr = $('#available-widgets .widget-holder').height(), firstsb = $('#widgets-right .widgets-holder-wrap .widgets-sortables:first'), hl = firstsb.height();
$('#widgets-right h3.sidebar-name').click(function(){
$('#widgets-right div.sidebar-name').click(function(){
var c = $(this).siblings('.widgets-sortables');
if ( c.is(':visible') ) {
c.hide().sortable('disable');
@@ -17,7 +17,7 @@ wpWidgets = {
}
});
$('#widgets-left h3.sidebar-name').click(function(){
$('#widgets-left div.sidebar-name').click(function(){
if ( $(this).siblings('.widget-holder').is(':visible') ) {
$(this).parent().addClass('closed');
} else {