This website works better with JavaScript.
Home
Explore
Help
Register
Sign In
nielsperetzke
/
healthchecks
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
32
Wiki
Activity
Browse Source
defer inserting the password field
pull/32/head
Di Wu
9 years ago
parent
808c6e6a01
commit
4558628ebf
1 changed files
with
4 additions
and
2 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+4
-2
static/js/login.js
+ 4
- 2
static/js/login.js
View File
@ -1,7 +1,9 @@
$
(
function
(
)
{
var
passwordInput
=
$
(
"#password-block input"
)
;
passwordInput
.
detach
(
)
;
$
(
"#password-toggle"
)
.
click
(
function
(
)
{
$
(
"#password-toggle"
)
.
hide
(
)
;
$
(
"#password-block"
)
.
removeClass
(
"hide"
)
;
$
(
"#password-block .input-group"
)
.
append
(
passwordInput
)
;
}
)
;
}
)
;
}
)
;
Write
Preview
Loading…
Cancel
Save