aboutsummaryrefslogtreecommitdiffstats
path: root/ui/jquery.ui.menu.js
diff options
context:
space:
mode:
Diffstat (limited to 'ui/jquery.ui.menu.js')
-rw-r--r--ui/jquery.ui.menu.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/ui/jquery.ui.menu.js b/ui/jquery.ui.menu.js
index aeffea026..6d00f66ae 100644
--- a/ui/jquery.ui.menu.js
+++ b/ui/jquery.ui.menu.js
@@ -368,9 +368,9 @@ $.widget( "ui.menu", {
var position = $.extend({}, {
of: this.active
- }, $.type(this.options.position) == "function"
- ? this.options.position(this.active)
- : this.options.position
+ }, $.type(this.options.position) == "function" ?
+ this.options.position(this.active) :
+ this.options.position
);
submenu.show()