Просмотр исходного кода

delete if user is guest in crowi.js

zahmis 5 лет назад
Родитель
Сommit
3a69c197c8
1 измененных файлов с 0 добавлено и 5 удалено
  1. 0 5
      src/client/js/legacy/crowi.js

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

@@ -202,11 +202,6 @@ $(() => {
 window.addEventListener('load', (e) => {
   const { appContainer } = window;
 
-  // do nothing if user is guest
-  if (appContainer.currentUser == null) {
-    return;
-  }
-
   // hash on page
   if (window.location.hash) {
     const navigationContainer = appContainer.getContainer('NavigationContainer');