Browse Source

restore hackmd

zahmis 5 năm trước cách đây
mục cha
commit
4af4a9857d
1 tập tin đã thay đổi với 3 bổ sung0 xóa
  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');