forked from rDrama/rDrama
1
0
Fork 0

fix bug with url change after posting

master
Aevann 2022-12-30 09:35:52 +02:00
parent 6927009b3a
commit c7e93578a9
1 changed files with 1 additions and 1 deletions

View File

@ -1,4 +1,4 @@
history.pushState(null, null, '{{p.permalink}}');
history.pushState(null, null, `/post/${pid}`);
localStorage.setItem("post-title", "")
localStorage.setItem("post-text", "")
localStorage.setItem("post-url", "")