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.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/jquery.ui.menu.js b/ui/jquery.ui.menu.js
index b3f323cec..8de1eb47a 100644
--- a/ui/jquery.ui.menu.js
+++ b/ui/jquery.ui.menu.js
@@ -395,8 +395,8 @@ $.widget( "ui.menu", {
var position = $.extend( {}, {
of: this.active
- }, $.type(this.options.position) === "function" ?
- this.options.position(this.active) :
+ }, $.type( this.options.position ) === "function" ?
+ this.options.position( this.active ) :
this.options.position
);