Skip to content

A free open source IT asset/license management system

Removed password reveal modal JS

snipe0e65437fc087
diff --git a/resources/assets/js/snipeit_modals.js b/resources/assets/js/snipeit_modals.js
index fb953a4b9a..3a3f72c563 100644
--- a/resources/assets/js/snipeit_modals.js
+++ b/resources/assets/js/snipeit_modals.js
@@ -125,15 +125,7 @@ $(function () {
});
-
-
- $(document).on('click', '#createModal .toggle-password', function () {
- $(this).toggleClass('fa-eye fa-eye-slash');
- var input = $($(this).attr('data-toggle'));
- input.attr('type', input.attr('type') === 'password' ? 'text' : 'password');
- });
-
- $('#createModal').on('click','#modal-save', function () {
+ $('#createModal').on('click','#modal-save', function () {
$.ajax({
type: 'POST',
url: $('.modal-body form').attr('action'),