1/** 2 * masks/unmasks password fields that have the CSS class "password" 3 * */ 4$(document).ready(function () { 5 6 $('.fa-eye').click(function () { 7 8 var fieldType = $(this).closest("div.form-group").find("input.password").attr("type"); 9 10 if (fieldType === "password") { 11 $(this).closest(".form-group").find("input.password").attr("type", "text"); 12 } else { 13 $(this).closest(".form-group").find("input.password").attr("type", "password"); 14 } 15 16 $(this).toggleClass('fa-eye'); 17 $(this).toggleClass('fa-eye-slash'); 18 }); 19});
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.