Skip to content

Commit

Permalink
Fix page sorting after root page removal
Browse files Browse the repository at this point in the history
Since we removed the root page we need to adjust the sortable items
class.
  • Loading branch information
tvdeyen committed Jun 10, 2020
1 parent 59bc152 commit 87b2648
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/assets/javascripts/alchemy/alchemy.page_sorter.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Alchemy.PageSorter = function () {
var $sortables = $("ul#sitemap").find("ul.level_1_children")
var $sortables = $("ul#sitemap").find("ul.level_0_children")

$sortables.nestedSortable({
disableNesting: "no-nest",
Expand Down

0 comments on commit 87b2648

Please sign in to comment.