aboutsummaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authorLisa Seacat DeLuca <ldeluca@us.ibm.com>2014-11-03 12:08:06 -0500
committerScott González <scott.gonzalez@gmail.com>2014-11-03 13:40:58 -0500
commit2500bb39c2af32770944488aa9c4bb45e8c305fa (patch)
tree1e674cd233ce2e6c40a05b4e8dede857735b2fe1 /ui
parente9643f6bfc922773e29e3084e64de0240b547f32 (diff)
downloadjquery-ui-2500bb39c2af32770944488aa9c4bb45e8c305fa.tar.gz
jquery-ui-2500bb39c2af32770944488aa9c4bb45e8c305fa.zip
Theme: Carat should be named caret
Fixes #10683 Closes gh-1382
Diffstat (limited to 'ui')
-rw-r--r--ui/menu.js12
1 files changed, 6 insertions, 6 deletions
diff --git a/ui/menu.js b/ui/menu.js
index b4909a116..6d60e12a5 100644
--- a/ui/menu.js
+++ b/ui/menu.js
@@ -31,7 +31,7 @@ return $.widget( "ui.menu", {
delay: 300,
options: {
icons: {
- submenu: "ui-icon-carat-1-e"
+ submenu: "ui-icon-caret-1-e"
},
items: "> *",
menus: "ul",
@@ -178,7 +178,7 @@ return $.widget( "ui.menu", {
.removeAttr( "aria-haspopup" )
.children().each(function() {
var elem = $( this );
- if ( elem.data( "ui-menu-submenu-carat" ) ) {
+ if ( elem.data( "ui-menu-submenu-caret" ) ) {
elem.remove();
}
});
@@ -297,13 +297,13 @@ return $.widget( "ui.menu", {
.each(function() {
var menu = $( this ),
item = menu.prev(),
- submenuCarat = $( "<span>" )
+ submenuCaret = $( "<span>" )
.addClass( "ui-menu-icon ui-icon " + icon )
- .data( "ui-menu-submenu-carat", true );
+ .data( "ui-menu-submenu-caret", true );
item
.attr( "aria-haspopup", "true" )
- .prepend( submenuCarat );
+ .prepend( submenuCaret );
menu.attr( "aria-labelledby", item.attr( "id" ) );
});
@@ -438,7 +438,7 @@ return $.widget( "ui.menu", {
clearTimeout( this.timer );
// Don't open if already open fixes a Firefox bug that caused a .5 pixel
- // shift in the submenu position when mousing over the carat icon
+ // shift in the submenu position when mousing over the caret icon
if ( submenu.attr( "aria-hidden" ) !== "true" ) {
return;
}