From 0be69612d1b7e6139fe7baab93390d3baae45e9d Mon Sep 17 00:00:00 2001 From: Aevann Date: Wed, 31 Jan 2024 01:40:58 +0200 Subject: [PATCH] fix bug --- files/assets/js/post.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/assets/js/post.js b/files/assets/js/post.js index e96cbe3d6..ccab317f3 100644 --- a/files/assets/js/post.js +++ b/files/assets/js/post.js @@ -36,7 +36,7 @@ if (fake_textarea) { //POST NAVIGATION -const post_ids = localStorage.getItem("post_ids").split(', '); +const post_ids = sessionStorage.getItem("post_ids").split(', '); const current_index = post_ids.indexOf(`'${location.href}'`) if (current_index > -1) { const id_after = post_ids[current_index+1]