Ver Fonte

restore hackmd

zahmis há 5 anos atrás
pai
commit
4af4a9857d
1 ficheiros alterados com 3 adições e 0 exclusões
  1. 3 0
      src/client/js/legacy/crowi.js

+ 3 - 0
src/client/js/legacy/crowi.js

@@ -290,6 +290,9 @@ window.addEventListener('hashchange', (e) => {
     if (window.location.hash === '#edit') {
       $('a[href="#edit"]').tab('show');
     }
+    else if (window.location.hash === '#hackmd') {
+      $('a[href="#hackmd"]').tab('show');
+    }
   }
   else {
     $('a[href="#revision-body"]').tab('show');