]> source.dussan.org Git - jquery-ui.git/commitdiff
Menu: Coding standards
authorJörn Zaefferer <joern.zaefferer@gmail.com>
Mon, 21 May 2012 14:36:33 +0000 (16:36 +0200)
committerJörn Zaefferer <joern.zaefferer@gmail.com>
Mon, 21 May 2012 14:36:33 +0000 (16:36 +0200)
ui/jquery.ui.menu.js

index b3f323cecb37732a411c02e066cd5926af388be9..8de1eb47a9291eaf936a5a4915bfffea7a33ffb4 100644 (file)
@@ -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
                        );