aboutsummaryrefslogtreecommitdiffstats
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
parentdcd3cd516c9b4156203749e4a36e8a940b19380e (diff)
downloadjquery-ui-d157b59a511be306f32f8d5a84b575961013ebd0.tar.gz
jquery-ui-d157b59a511be306f32f8d5a84b575961013ebd0.zip
Sortable: Remove core event/alias and deprecated module dependencies
-rw-r--r--demos/sortable/portlets.html2
-rw-r--r--tests/unit/sortable/events.js2
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( "<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();
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;
});