fix error
This commit is contained in:
parent
ea4e198d2e
commit
bcf57cd459
|
@ -719,7 +719,7 @@ function transdate(){
|
||||||
// 當文件物件模型(DOM)載入後,執行init函數
|
// 當文件物件模型(DOM)載入後,執行init函數
|
||||||
$(document).ready(function() {
|
$(document).ready(function() {
|
||||||
$(document).on('focus','*',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');
|
$('header>.kenjohn').addClass('navRel');
|
||||||
$('#gotocenter').focus();
|
$('#gotocenter').focus();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue