forked from rDrama/rDrama
fix bug
parent
eaff4f61e2
commit
0be69612d1
|
@ -36,7 +36,7 @@ if (fake_textarea) {
|
||||||
|
|
||||||
//POST NAVIGATION
|
//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}'`)
|
const current_index = post_ids.indexOf(`'${location.href}'`)
|
||||||
if (current_index > -1) {
|
if (current_index > -1) {
|
||||||
const id_after = post_ids[current_index+1]
|
const id_after = post_ids[current_index+1]
|
||||||
|
|
Loading…
Reference in New Issue