diff --git a/views/treeviewer/layout.html b/views/treeviewer/layout.html
index 101b3069..a0b5a848 100755
--- a/views/treeviewer/layout.html
+++ b/views/treeviewer/layout.html
@@ -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, ''));
}
}