diff options
author | Michal Čihař <mcihar@suse.cz> | 2012-05-03 15:01:09 +0400 |
---|---|---|
committer | Michal Čihař <mcihar@suse.cz> | 2012-05-03 15:01:09 +0400 |
commit | c7c5725ea10fa608882d8d5c100abbf1ecfde33c (patch) | |
tree | 011b3e727dbbe8dbcabd67c0e2da470b9f5a46b1 /js | |
parent | 7e9388149e0e6a7a1c1f87e8c275d34abab2d083 (diff) |
Avoid inline javascript
Diffstat (limited to 'js')
-rw-r--r-- | js/functions.js | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/js/functions.js b/js/functions.js index d784d8229f..c8a44fdacd 100644 --- a/js/functions.js +++ b/js/functions.js @@ -3832,3 +3832,10 @@ function formatBytes(bytes, subdecimals, pointchar) { $(function () { $("a._blank").prop("target", "_blank"); }); + +/** + * Reveal the login form to users with JS enabled + */ +$(function () { + $('.js-show').show(); +}); |