ZwiiCMS/core/module/user/view/login/login.js.php

20 lines
618 B
PHP
Raw Normal View History

2021-12-17 18:18:24 +01:00
/**
* This file is part of Zwii.
* For full copyright and license information, please see the LICENSE
* file that was distributed with this source code.
*
* @author Frédéric Tempez <frederic.tempez@outlook.com>
2021-12-18 10:25:33 +01:00
* @copyright Copyright (C) 2018-2022, Frédéric Tempez
2021-12-17 18:18:24 +01:00
* @license GNU General Public License, version 3
* @link http://zwiicms.fr/
*/
$(document).ready(function(){
$(".zwiico-eye").mouseenter(function() {
$("#userLoginPassword").attr("type", 'text');
});
$(".zwiico-eye").mouseleave(function() {
$("#userLoginPassword").attr("type", 'password');
});
});