Skip to content
Permalink
Browse files

sortable portlets demo: Swapped plus and minus icons for more consist…

…ency
  • Loading branch information
rdworth committed Oct 4, 2009
1 parent fd97679 commit 80725988255b4a743e09857c7848415b959327fa
Showing with 2 additions and 2 deletions.
  1. +2 −2 demos/sortable/portlets.html
@@ -25,12 +25,12 @@
$(".portlet").addClass("ui-widget ui-widget-content ui-helper-clearfix ui-corner-all")
.find(".portlet-header")
.addClass("ui-widget-header ui-corner-all")
.prepend('<span class="ui-icon ui-icon-plusthick"></span>')
.prepend('<span class="ui-icon ui-icon-minusthick"></span>')
.end()
.find(".portlet-content");
$(".portlet-header .ui-icon").click(function() {
$(this).toggleClass("ui-icon-minusthick");
$(this).toggleClass("ui-icon-minusthick").toggleClass("ui-icon-plusthick");
$(this).parents(".portlet:first").find(".portlet-content").toggle();
});

0 comments on commit 8072598

Please sign in to comment.
You can’t perform that action at this time.