aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Schmitz <arschmitz@gmail.com>2015-05-13 22:04:02 -0400
committerAlexander Schmitz <arschmitz@gmail.com>2015-05-20 14:27:57 -0400
commita17180202d6fd7c137feba9ecc228554d44a7a7e (patch)
treee5b6b9b0e23b120d9dca1551728168e9597f62a9
parent7c419a7ba1ed71fc802344cb30848f5d239d42f4 (diff)
downloadjquery-ui-a17180202d6fd7c137feba9ecc228554d44a7a7e.tar.gz
jquery-ui-a17180202d6fd7c137feba9ecc228554d44a7a7e.zip
Resizable: Remove core event/alias and deprecated module dependencies
-rw-r--r--ui/resizable.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/ui/resizable.js b/ui/resizable.js
index 7aadd490c..6e51f4aac 100644
--- a/ui/resizable.js
+++ b/ui/resizable.js
@@ -237,7 +237,7 @@ $.widget("ui.resizable", $.ui.mouse, {
this._handles = this._handles.add( this.element.find( ".ui-resizable-handle" ) );
this._handles.disableSelection();
- this._handles.mouseover(function() {
+ this._handles.on( "mouseover", function() {
if (!that.resizing) {
if (this.className) {
axis = this.className.match(/ui-resizable-(se|sw|ne|nw|n|e|s|w)/i);
@@ -250,14 +250,14 @@ $.widget("ui.resizable", $.ui.mouse, {
this._handles.hide();
this._addClass( "ui-resizable-autohide" );
$(this.element)
- .mouseenter(function() {
+ .on( "mouseenter", function() {
if (o.disabled) {
return;
}
that._removeClass( "ui-resizable-autohide" );
that._handles.show();
})
- .mouseleave(function() {
+ .on( "mouseleave", function() {
if (o.disabled) {
return;
}
@@ -280,7 +280,7 @@ $.widget("ui.resizable", $.ui.mouse, {
$(exp)
.removeData("resizable")
.removeData("ui-resizable")
- .unbind(".resizable")
+ .off(".resizable")
.find(".ui-resizable-handle")
.remove();
};