From b4ac92af791600a190724e45758b3c1667ea0b82 Mon Sep 17 00:00:00 2001 From: Kobe Date: Sun, 25 May 2025 12:09:53 +0200 Subject: [PATCH] fix up arrow --- templates/room.html | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/templates/room.html b/templates/room.html index 8874367..c893d00 100644 --- a/templates/room.html +++ b/templates/room.html @@ -65,7 +65,7 @@
- @@ -1815,5 +1815,13 @@ document.addEventListener('DOMContentLoaded', function() { } } }); + +function navigateToParent() { + if (!currentPath) return; + const parts = currentPath.split('/'); + parts.pop(); // Remove the last part + const parentPath = parts.join('/'); + navigateTo(parentPath); +} {% endblock %} \ No newline at end of file