always open submenu on the left side
This commit is contained in:
parent
acc4a0ce01
commit
cb508c7417
|
@ -127,7 +127,7 @@
|
||||||
if ($.data(subnav, 'subsub')) {
|
if ($.data(subnav, 'subsub')) {
|
||||||
var distance = $(listit).outerWidth(),
|
var distance = $(listit).outerWidth(),
|
||||||
itemWidth = $(listit).offset().left + distance - menuX,
|
itemWidth = $(listit).offset().left + distance - menuX,
|
||||||
position = (opts.maxWidth < itemWidth) ? "right" : "left";
|
position = "right";
|
||||||
|
|
||||||
subcss[position] = distance;
|
subcss[position] = distance;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue