diff options
Diffstat (limited to 'demos/sortable')
-rw-r--r-- | demos/sortable/portlets.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/sortable/portlets.html b/demos/sortable/portlets.html index 4d7f9cd53..42ddb4444 100644 --- a/demos/sortable/portlets.html +++ b/demos/sortable/portlets.html @@ -58,7 +58,7 @@ .addClass( "ui-widget-header ui-corner-all" ) .prepend( "<span class='ui-icon ui-icon-minusthick portlet-toggle'></span>"); - $( ".portlet-toggle" ).click(function() { + $( ".portlet-toggle" ).on( "click", function() { var icon = $( this ); icon.toggleClass( "ui-icon-minusthick ui-icon-plusthick" ); icon.closest( ".portlet" ).find( ".portlet-content" ).toggle(); |