mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-06 18:21:39 +09:00
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:
parent
94da6058e7
commit
7b862b97fe
7 changed files with 7 additions and 164 deletions
|
|
@ -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에서도 체크하기 위한 함수 */
|
||||
|
|
|
|||
2
common/js/common.min.js
vendored
2
common/js/common.min.js
vendored
File diff suppressed because one or more lines are too long
|
|
@ -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
77
common/js/xe.min.js
vendored
File diff suppressed because one or more lines are too long
|
|
@ -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 {
|
||||
|
|
|
|||
84
modules/admin/tpl/js/admin.min.js
vendored
84
modules/admin/tpl/js/admin.min.js
vendored
File diff suppressed because one or more lines are too long
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue