Skip to content

Commit

Permalink
Exclude #menu_reorder and #menu_reorder_done from the sortable items …
Browse files Browse the repository at this point in the history
…when reordering the menu menu.
  • Loading branch information
Kale Worsley committed Mar 22, 2012
1 parent 06c33b6 commit c2ad6c4
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -2,6 +2,7 @@
$menu = $("#menu")
return if $menu.length == 0
$menu.sortable(
items: "> *:not(#menu_reorder, #menu_reorder_done)"
axis: "x"
cursor: "crosshair"
connectWith: ".nested"
Expand Down

0 comments on commit c2ad6c4

Please sign in to comment.