diff options
author | jzaefferer <joern.zaefferer@gmail.com> | 2010-06-19 17:03:08 +0200 |
---|---|---|
committer | jzaefferer <joern.zaefferer@gmail.com> | 2010-06-19 17:03:08 +0200 |
commit | d5df3a5a5649c299ae404cff564ac59d53526cd2 (patch) | |
tree | abad130ae46fc21005f828b374c9a7db1415d0f4 | |
parent | 2360af22a86644d9ff3589fb7b901210229f0cf0 (diff) | |
download | jquery-ui-d5df3a5a5649c299ae404cff564ac59d53526cd2.tar.gz jquery-ui-d5df3a5a5649c299ae404cff564ac59d53526cd2.zip |
Menu: make the move method private
-rw-r--r-- | ui/jquery.ui.menu.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ui/jquery.ui.menu.js b/ui/jquery.ui.menu.js index e7eab8966..b81915fd7 100644 --- a/ui/jquery.ui.menu.js +++ b/ui/jquery.ui.menu.js @@ -147,11 +147,11 @@ $.widget("ui.menu", { }, next: function(event) { - this.move("next", ".ui-menu-item:first", event); + this._move("next", ".ui-menu-item:first", event); }, previous: function(event) { - this.move("prev", ".ui-menu-item:last", event); + this._move("prev", ".ui-menu-item:last", event); }, first: function() { @@ -162,7 +162,7 @@ $.widget("ui.menu", { return this.active && !this.active.next().length; }, - move: function(direction, edge, event) { + _move: function(direction, edge, event) { if (!this.active) { this.activate(event, this.element.children(edge)); return; |