commit
c6b8fcdcd6
|
@ -588,7 +588,7 @@ define([
|
||||||
if (this.options.additionalAlign)
|
if (this.options.additionalAlign)
|
||||||
this.options.additionalAlign.call(this, menuRoot, left, top);
|
this.options.additionalAlign.call(this, menuRoot, left, top);
|
||||||
else {
|
else {
|
||||||
var _css = {left: Math.ceil(left), top: Math.ceil(top)};
|
var _css = {left: left, top: top};
|
||||||
if (!(menuH < docH)) _css['margin-top'] = 0;
|
if (!(menuH < docH)) _css['margin-top'] = 0;
|
||||||
|
|
||||||
menuRoot.css(_css);
|
menuRoot.css(_css);
|
||||||
|
|
Loading…
Reference in a new issue