1eadd7fa by Yokihito Oki

Merge branch 'master' into 'deployment/production'

リダイレクト対応 : 新型コロナ対応 => covid-19.html

See merge request !25
2 parents ed3f0b11 803a982e
...@@ -3,6 +3,9 @@ ...@@ -3,6 +3,9 @@
3 .covid-19-news .mod-articles-category-category { 3 .covid-19-news .mod-articles-category-category {
4 display: none; 4 display: none;
5 } 5 }
6 .covid-19-sub-menu.category-list {
7 display: none;
8 }
6 9
7 /* 共通 ------------------------------------------------------*/ 10 /* 共通 ------------------------------------------------------*/
8 .over { 11 .over {
......
...@@ -204,6 +204,8 @@ if ($this->params->get('logoFile')) { ...@@ -204,6 +204,8 @@ if ($this->params->get('logoFile')) {
204 204
205 <script> 205 <script>
206 window.onload = function() { 206 window.onload = function() {
207 covid19RedicretTarget = document.querySelector('.covid-19-sub-menu.category-list');
208 if (covid19RedicretTarget) window.location.href = '/covid-19.html';
207 jQuery(function($) { 209 jQuery(function($) {
208 var obj = $("#aside"); 210 var obj = $("#aside");
209 var sW = window.innerWidth; 211 var sW = window.innerWidth;
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!