查看密码无效修复
parent
d93889809e
commit
67d4bfa8e4
|
|
@ -33,7 +33,7 @@ $(function()
|
|||
// 查看密码
|
||||
$('.eye-submit').on('click', function()
|
||||
{
|
||||
var $obj = $(this).parent().prev();
|
||||
var $obj = $(this).parent().parent().find('input');
|
||||
if($obj.attr('type') == 'password')
|
||||
{
|
||||
$(this).addClass('cr-green');
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ $(function()
|
|||
// 查看密码
|
||||
$('.eye-submit').on('click', function()
|
||||
{
|
||||
var $obj = $(this).parent().prev();
|
||||
var $obj = $(this).parent().parent().find('input');
|
||||
if($obj.attr('type') == 'password')
|
||||
{
|
||||
$(this).addClass('cr-green');
|
||||
|
|
|
|||
Loading…
Reference in New Issue