mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-02 01:52:10 +09:00
Minor update for bootstrap.layout.js
git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@11167 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
0abf0cd3ee
commit
aebc749f03
1 changed files with 5 additions and 4 deletions
|
|
@ -15,14 +15,15 @@ jQuery(function($){
|
|||
$(this).attr('placeholder', idpw_placeholder);
|
||||
});
|
||||
// Toggle
|
||||
var $acTog = $account.find('>a[href="#acField"]:eq(0)');
|
||||
var $acTog = $('a[href="#acField"]');
|
||||
$acTog.click(function(){
|
||||
$(this).next('#acField').slideToggle(200, function(){
|
||||
$this = $(this);
|
||||
$('#acField').slideToggle(200, function(){
|
||||
var $user_id = $(this).find('input[name="user_id"]:eq(0)');
|
||||
if($user_id.is(':visible')){
|
||||
$user_id.focus();
|
||||
} else {
|
||||
$acTog.focus();
|
||||
$this.focus();
|
||||
}
|
||||
});
|
||||
return false;
|
||||
|
|
@ -33,7 +34,7 @@ jQuery(function($){
|
|||
.append('<button type="button" class="x_close">×</button>')
|
||||
.find('>.x_close').click(function(){
|
||||
$(this).closest('#acField').slideUp(200, function(){
|
||||
$acTog.focus();
|
||||
$acTog.eq(0).focus();
|
||||
});
|
||||
return false;
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue