Merge branch 'master' into 'deployment/production'
リダイレクト対応 : 新型コロナ対応 => covid-19.html See merge request !25
Showing
2 changed files
with
5 additions
and
0 deletions
... | @@ -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; | ... | ... |
-
Please register or sign in to post a comment