From: Jörn Zaefferer Date: Mon, 21 May 2012 14:36:33 +0000 (+0200) Subject: Menu: Coding standards X-Git-Tag: 1.9.0-beta.1~144 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=f89971a2c378a170f5eb1e9bd6317cf64b52d3e8;p=jquery-ui.git Menu: Coding standards --- 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 );