Anchor focus target {outline:0} removed.

git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@12752 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
ChanMyeong 2013-02-14 06:24:57 +00:00
parent 94da6058e7
commit 7b862b97fe
7 changed files with 7 additions and 164 deletions

View file

@ -142,7 +142,7 @@ jQuery(function($) {
// Anchor: focus move to target
$('a[href^="#"]').click(function(){
$($(this).attr('href')).attr('tabindex','0').css('outline','0').focus();
$($(this).attr('href')).attr('tabindex','0').focus();
});
/* select - option의 disabled=disabled 속성을 IE에서도 체크하기 위한 함수 */

File diff suppressed because one or more lines are too long

View file

@ -426,7 +426,7 @@ jQuery(function($) {
// Anchor: focus move to target
$('a[href^="#"]').click(function(){
$($(this).attr('href')).attr('tabindex','0').css('outline','0').focus();
$($(this).attr('href')).attr('tabindex','0').focus();
});
/* select - option의 disabled=disabled 속성을 IE에서도 체크하기 위한 함수 */

77
common/js/xe.min.js vendored

File diff suppressed because one or more lines are too long

View file

@ -32,7 +32,7 @@ jQuery(function($){
var focusable = 'a,input,button,textarea,select';
$target.toggle();
if($target.is(':visible') && !$target.find(focusable).length){
$target.not(':disabled').attr('tabindex','0').css('outline','0').focus();
$target.not(':disabled').attr('tabindex','0').focus();
} else if($target.is(':visible') && $target.find(focusable).length) {
$target.not(':disabled').find(focusable).eq(0).focus();
} else {

File diff suppressed because one or more lines are too long

View file

@ -10,7 +10,7 @@ jQuery(function($){
var focusable = 'a,input,button,textarea,select';
$target.toggle();
if($target.is(':visible') && !$target.find(focusable).length){
$target.not(':disabled').attr('tabindex','0').css('outline','0').focus();
$target.not(':disabled').attr('tabindex','0').focus();
} else if($target.is(':visible') && $target.find(focusable).length) {
$target.not(':disabled').find(focusable).eq(0).focus();
} else {