Skip to content

Commit

Permalink
Merge pull request #844 from davidebbo/fix-dot-handling
Browse files Browse the repository at this point in the history
Include periods when stripping /life/ from URL
  • Loading branch information
lentinj authored Apr 30, 2024
2 parents 2f51d56 + a1dc348 commit 2d2161b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion views/treeviewer/layout.html
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@
onezoom.controller.default_move_to(href, 'ancestor');
} else {
// Strip /life/ from any URL, update tree state
onezoom.controller.set_treestate(href.replace(/^\/[A-Z_\-/]+/i, ''));
onezoom.controller.set_treestate(href.replace(/^\/[A-Z_\-/.]+/i, ''));
}
}

Expand Down

0 comments on commit 2d2161b

Please sign in to comment.