Hyeonjae Park 2018-12-12
sidebar: Fix history back bug
@0ada41b4f79d888c77fa890180403a50ccff1eb8
app/views/layout.scala.html
--- app/views/layout.scala.html
+++ app/views/layout.scala.html
@@ -93,7 +93,7 @@
             });
 
             window.parent.document.title = window.document.title;
-            window.parent.history.pushState('', window.document.title, window.location.href);
+            window.parent.history.replaceState('', window.document.title, window.location.href);
 
             $(".pin").on("click", function () {
                 if (window.parent === window) {
Add a comment
List