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

20 lines
610 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() {
2022-09-14 22:54:46 +02:00
$("#userLoginPassword").attr("type", 'text');
2021-12-17 18:18:24 +01:00
});
$(".zwiico-eye").mouseleave(function() {
2022-09-14 22:54:46 +02:00
$("#userLoginPassword").attr("type", 'password');
2021-12-17 18:18:24 +01:00
});
});