Sha256: 29358ed66c2d29e2251da5c10e4c546ebd38b1fcb00d709e903f91c9e2655436
Contents?: true
Size: 387 Bytes
Versions: 4
Compression:
Stored size: 387 Bytes
Contents
$ -> $("body").on "click", "._toggle-pw-visibility", (event) -> passwordField = $("._pw-input") togglePassword = $("._pw-text-area") if passwordField.prop("type") is "password" passwordField.prop "type", "text" togglePassword.find("i").text "visibility" else passwordField.prop "type", "password" togglePassword.find("i").text "visibility_off"
Version data entries
4 entries across 4 versions & 1 rubygems