|
@@ -1,12 +1,2 @@
|
|
|
-console.log('EDLP THEME HISTORY.js');
|
|
|
-// var edlp is provided by edlp_ajax.module file
|
|
|
-if(edlp.redirect){
|
|
|
- console.log('history redirect');
|
|
|
- window.localStorage.setItem('edlp_origin_path', edlp.sys_path.replace(/^\//, ''));
|
|
|
- window.localStorage.setItem('edlp_origin_url', window.location.pathname);
|
|
|
- window.localStorage.setItem('edlp_origin_hash', window.location.hash);
|
|
|
- // redirect to home
|
|
|
- window.location.replace(window.location.origin);
|
|
|
-}else{
|
|
|
- console.log('history do not redirect');
|
|
|
-}
|
|
|
+
|
|
|
+void 0;if(edlp.redirect){void 0;window.localStorage.setItem('edlp_origin_path',edlp.sys_path.replace(/^\//,''));window.localStorage.setItem('edlp_origin_url',window.location.pathname);window.localStorage.setItem('edlp_origin_hash',window.location.hash);window.location.replace(window.location.origin);}else{void 0;}
|