fix error

This commit is contained in:
rulingcom 2022-01-22 10:52:31 +00:00
parent ea4e198d2e
commit bcf57cd459
1 changed files with 1 additions and 1 deletions

View File

@ -719,7 +719,7 @@ function transdate(){
// 當文件物件模型(DOM)載入後執行init函數
$(document).ready(function() {
$(document).on('focus','*',function(){
if ($('header>.kenjohn').attr('class') == "kenjohn"){
if ($('header>.kenjohn').attr('class') == "kenjohn" && $(document.activeElement).is('a.orbit-bar-logo')){
$('header>.kenjohn').addClass('navRel');
$('#gotocenter').focus();
}