Yuki Takei 8 ani în urmă
părinte
comite
8a4229be61
1 a modificat fișierele cu 2 adăugiri și 2 ștergeri
  1. 2 2
      resource/js/legacy/crowi.js

+ 2 - 2
resource/js/legacy/crowi.js

@@ -766,8 +766,8 @@ $(function() {
     });
     $('a[data-toggle="tab"][href="#revision-body"]').on('show.bs.tab', function() {
       // couln't solve https://github.com/weseek/crowi-plus/issues/119 completely -- 2017.07.03 Yuki Takei
-      window.location.hash = '';
-      window.history.replaceState('', '', location.href.replace(location.hash, ''));
+      window.location.hash = '#';
+      window.history.replaceState('', '', location.href);
     });
   }
   else {