PageSourceSearch

https://www.zamnesia.com/themes/responsive/js/nice-input.js?_=560f8f09da050aa5b6497d2740097f16

js zamnesia.com collected 2026-09-24 18:31:42 UTC 1,276 bytes, 35 lines download raw bytes

1$(document).ready(function() {
2    initNiceInput()
3});
4
5function initNiceInput() {
6    $('.label-in-input').unbind('click').on('click', function() {
7        if ($(this).find('input').val().length === 0) {
8            $(this).find('input').focus()
9        }
10    });
11    $('.label-in-input input').unbind('focusin').on('focusin', function() {
12       // if ($(this).val().length === 0) {
13            $(this).closest('.label-in-input').addClass('focusin')
14       // }
15    });
16    $('.label-in-input input').unbind('focusout').on('focusout', function() {
17        if ($(this).val().length === 0) {
18            $(this).closest('.label-in-input').removeClass('focusin')
19        }
20    });
21
22    $('.js-toggle-password').unbind('click').on('click', function (e) {
23        e.stopPropagation()
24        e.preventDefault()
25        let input = $(this).closest('.row-input').find('input')
26        input.focus()
27        if (input.attr('type') === 'password') {
28            input.attr('type', 'text')
29            $('.js-toggle-password').find('img').attr('src', $('.js-toggle-password').attr('data-visible'))
30        }  else {
31            input.attr('type', 'password')
32            $('.js-toggle-password').find('img').attr('src', $('.js-toggle-password').attr('data-hidden'))
33        }
34    })
35}

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.