aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/button/options.js
diff options
context:
space:
mode:
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" );