mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
Remove width:100%; from menu-item styles (was there for icon-support, which was dropped); also fixed the nested-menu visual test to position properly in IE6
This commit is contained in:
parent
7e79eee1b0
commit
e7c2eb42d0
@ -106,11 +106,16 @@
|
|||||||
$("button").click(function(event) {
|
$("button").click(function(event) {
|
||||||
// TODO required to prevent the click handler below from handling this event
|
// TODO required to prevent the click handler below from handling this event
|
||||||
event.stopPropagation();
|
event.stopPropagation();
|
||||||
nestedmenu.nestedmenu("show").position({
|
nestedmenu.nestedmenu("show")
|
||||||
my: "left top",
|
.css({
|
||||||
at: "right top",
|
top: 0,
|
||||||
of: event.pageX > 0 ? event : this
|
left: 0
|
||||||
});
|
})
|
||||||
|
.position({
|
||||||
|
my: "left top",
|
||||||
|
at: "right top",
|
||||||
|
of: this
|
||||||
|
});
|
||||||
$(document).one("click", function() {
|
$(document).one("click", function() {
|
||||||
nestedmenu.nestedmenu("hide");
|
nestedmenu.nestedmenu("hide");
|
||||||
})
|
})
|
||||||
|
1
themes/base/jquery.ui.autocomplete.css
vendored
1
themes/base/jquery.ui.autocomplete.css
vendored
@ -20,7 +20,6 @@
|
|||||||
.ui-menu .ui-menu-item {
|
.ui-menu .ui-menu-item {
|
||||||
margin:0;
|
margin:0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
width: 100%;
|
|
||||||
}
|
}
|
||||||
.ui-menu .ui-menu-item a {
|
.ui-menu .ui-menu-item a {
|
||||||
text-decoration:none;
|
text-decoration:none;
|
||||||
|
Loading…
Reference in New Issue
Block a user