From 3b99bf4cc848ee5faf5f3f0d6483f2fa03e5f969 Mon Sep 17 00:00:00 2001 From: Alexander Schmitz Date: Fri, 21 Aug 2015 00:08:28 -0400 Subject: [PATCH] Menu: Style updates Ref #14246 Ref gh-1588 --- tests/unit/menu/common.js | 2 +- tests/unit/menu/events.js | 4 ++-- ui/widgets/menu.js | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/unit/menu/common.js b/tests/unit/menu/common.js index 81674be35..adb74cf0a 100644 --- a/tests/unit/menu/common.js +++ b/tests/unit/menu/common.js @@ -18,7 +18,7 @@ common.testWidget( "menu", { }, role: "menu", - // callbacks + // Callbacks blur: null, create: null, focus: null, diff --git a/tests/unit/menu/events.js b/tests/unit/menu/events.js index 8a4b92fff..790e5912c 100644 --- a/tests/unit/menu/events.js +++ b/tests/unit/menu/events.js @@ -333,7 +333,7 @@ asyncTest( "handle keyboard navigation on menu without scroll and with submenus" element.simulate( "keydown", { keyCode: $.ui.keyCode.LEFT } ); equal( logOutput(), "keydown,4", "Keydown LEFT (close submenu)" ); - // re-open submenu + // Re-open submenu element.simulate( "keydown", { keyCode: $.ui.keyCode.RIGHT } ); setTimeout( menukeyboard3 ); } @@ -525,7 +525,7 @@ asyncTest( "handle keyboard navigation on menu with scroll and with submenus", f element.simulate( "keydown", { keyCode: $.ui.keyCode.LEFT } ); equal( logOutput(), "keydown,1", "Keydown LEFT (close submenu)" ); - // re-open submenu + // Re-open submenu element.simulate( "keydown", { keyCode: $.ui.keyCode.RIGHT } ); setTimeout( menukeyboard3, 50 ); } diff --git a/ui/widgets/menu.js b/ui/widgets/menu.js index 3e1f71a3b..48258e85e 100644 --- a/ui/widgets/menu.js +++ b/ui/widgets/menu.js @@ -52,7 +52,7 @@ return $.widget( "ui.menu", { }, role: "menu", - // callbacks + // Callbacks blur: null, focus: null, select: null -- 2.39.5