aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/button/options.js
diff options
context:
space:
mode:
authorAlexander Schmitz <arschmitz@gmail.com>2015-05-13 21:54:37 -0400
committerAlexander Schmitz <arschmitz@gmail.com>2015-05-20 14:27:55 -0400
commit12df1b7dad135aa57640be631277db3f7d75d672 (patch)
tree4eebd1f09cecf57ed2dbdf358e9d4ddaea680fdd /tests/unit/button/options.js
parent8b4ce807cd97e3cb953995934d6c4f614de9fa03 (diff)
downloadjquery-ui-12df1b7dad135aa57640be631277db3f7d75d672.tar.gz
jquery-ui-12df1b7dad135aa57640be631277db3f7d75d672.zip
Button: Remove core event/alias and deprecated module dependencies
Diffstat (limited to 'tests/unit/button/options.js')
-rw-r--r--tests/unit/button/options.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unit/button/options.js b/tests/unit/button/options.js
index 70470e671..23020fc10 100644
--- a/tests/unit/button/options.js
+++ b/tests/unit/button/options.js
@@ -146,7 +146,7 @@ test("icons", function() {
test( "#5295 - button does not remove hoverstate if disabled" , function( assert ) {
expect( 1 );
var btn = $("#button").button();
- btn.hover( function() {
+ btn.on( "hover", function() {
btn.button( "disable" );
});
btn.trigger( "mouseenter" );