From d157b59a511be306f32f8d5a84b575961013ebd0 Mon Sep 17 00:00:00 2001 From: Alexander Schmitz Date: Wed, 13 May 2015 22:01:25 -0400 Subject: Sortable: Remove core event/alias and deprecated module dependencies --- demos/sortable/portlets.html | 2 +- tests/unit/sortable/events.js | 2 +- 2 files changed, 2 insertions(+), 2 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( ""); - $( ".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(); diff --git a/tests/unit/sortable/events.js b/tests/unit/sortable/events.js index 174da203d..267534b16 100644 --- a/tests/unit/sortable/events.js +++ b/tests/unit/sortable/events.js @@ -198,7 +198,7 @@ test("#4752: link event firing on sortable with connect list", function () { } }); - $("#qunit-fixture ul").bind("click.ui-sortable-test", function () { + $("#qunit-fixture ul").on("click.ui-sortable-test", function () { fired.click = true; }); -- cgit v1.2.3