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
Merge pull request
#32
from BetterWorks/passwordManager
defer inserting the password field into the dom
pull/33/head
Pēteris Caune
9 years ago
parent
8f215ec01e
4558628ebf
commit
96b41ded9b
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