r3358 committed - sortable portlets demo: Swapped plus and minus icons for more consiste...

r3358 committed - sortable portlets demo: Swapped plus and minus icons for more consiste...


Revision: 3358
Author: rdworth
Date: Sun Oct 4 03:29:03 2009
Log: sortable portlets demo: Swapped plus and minus icons for more
consistency
http://code.google.com/p/jquery-ui/source/detail?r=3358
Modified:
/trunk/demos/sortable/portlets.html
=======================================
--- /trunk/demos/sortable/portlets.html    Thu Sep 17 03:39:12 2009
+++ /trunk/demos/sortable/portlets.html    Sun Oct 4 03:29:03 2009
@@ -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();
        });