提交 67d4bfa8 编写于 作者: G gongfuxiang

查看密码无效修复

上级 d9388980
......@@ -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');
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册