Permalink
Browse files

Shorter Login form JS form-show code

  • Loading branch information...
1 parent 1b71d9d commit d55332848d29f88d53770b621285903183e90113 Jo Michael committed Apr 20, 2012
Showing with 2 additions and 3 deletions.
  1. +2 −3 libraries/auth/cookie.auth.lib.php
@@ -159,9 +159,8 @@ function PMA_auth()
<script type="text/javascript">
//<![CDATA[
// reveal the login form to users with JS enabled
-$(document).ready(function () {
- $('form.login').show();
- $('div.language').show();
+$(function () {
+ $('.hide').show();
});
//]]>
</script>

0 comments on commit d553328

Please sign in to comment.