aboutsummaryrefslogtreecommitdiffstats
path: root/demos
diff options
context:
space:
mode:
authorAlexander Schmitz <arschmitz@gmail.com>2015-05-13 22:01:25 -0400
committerAlexander Schmitz <arschmitz@gmail.com>2015-05-20 14:27:56 -0400
commitd157b59a511be306f32f8d5a84b575961013ebd0 (patch)
treef05397ea2f6546d0c0e572dc189e1b4c5503b6f5 /demos
parentdcd3cd516c9b4156203749e4a36e8a940b19380e (diff)
downloadjquery-ui-d157b59a511be306f32f8d5a84b575961013ebd0.tar.gz
jquery-ui-d157b59a511be306f32f8d5a84b575961013ebd0.zip
Sortable: Remove core event/alias and deprecated module dependencies
Diffstat (limited to 'demos')
-rw-r--r--demos/sortable/portlets.html2
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();