2
0
zahmis 5 жил өмнө
parent
commit
2a84de6d00

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

@@ -220,19 +220,11 @@ window.addEventListener('load', (e) => {
     if ((window.location.hash === '#edit' || window.location.hash === '#edit-form')) {
     if ((window.location.hash === '#edit' || window.location.hash === '#edit-form')) {
       navigationContainer.setEditorMode('edit');
       navigationContainer.setEditorMode('edit');
 
 
-      $('a[href="#edit"]').tab('show');
-      $('body').addClass('on-edit');
-      $('body').addClass('builtin-editor');
-
       // focus
       // focus
       Crowi.setCaretLineAndFocusToEditor();
       Crowi.setCaretLineAndFocusToEditor();
     }
     }
     else if (window.location.hash === '#hackmd') {
     else if (window.location.hash === '#hackmd') {
       navigationContainer.setEditorMode('hackmd');
       navigationContainer.setEditorMode('hackmd');
-
-      $('a[href="#hackmd"]').tab('show');
-      $('body').addClass('on-edit');
-      $('body').addClass('hackmd');
     }
     }
   }
   }
 });
 });