소스 검색

bug fix from prev commit

Bachir Soussi Chiadmi 4 년 전
부모
커밋
2e73cacb27
2개의 변경된 파일7개의 추가작업 그리고 1개의 파일을 삭제
  1. 0 0
      web/themes/custom/edlptheme/assets/dist/scripts/main.min.js
  2. 7 1
      web/themes/custom/edlptheme/assets/scripts/main.js

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 0
web/themes/custom/edlptheme/assets/dist/scripts/main.min.js


+ 7 - 1
web/themes/custom/edlptheme/assets/scripts/main.js

@@ -2132,7 +2132,13 @@
 
       if(typeof pop_state == "undefined" || !pop_state){
         console.log('backToFrontPage push state');
-        history.pushState({home:true}, null, _base_url+drupalSettings.path.currentLanguage);
+        state = {
+          home:true,
+          context:"home",
+          caller:null
+        }
+        _states_history.unshift(state);
+        history.pushState(state, null, _base_url+drupalSettings.path.currentLanguage);
       }
     }
 

이 변경점에서 너무 많은 파일들이 변경되어 몇몇 파일들은 표시되지 않았습니다.