Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorMichal Čihař <mcihar@suse.cz>2012-05-03 15:01:09 +0400
committerMichal Čihař <mcihar@suse.cz>2012-05-03 15:01:09 +0400
commitc7c5725ea10fa608882d8d5c100abbf1ecfde33c (patch)
tree011b3e727dbbe8dbcabd67c0e2da470b9f5a46b1 /js
parent7e9388149e0e6a7a1c1f87e8c275d34abab2d083 (diff)
Avoid inline javascript
Diffstat (limited to 'js')
-rw-r--r--js/functions.js7
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();
+});