aboutsummaryrefslogtreecommitdiff
path: root/bootstrap/comments/admin/views/login/login.js
diff options
context:
space:
mode:
Diffstat (limited to 'bootstrap/comments/admin/views/login/login.js')
-rw-r--r--bootstrap/comments/admin/views/login/login.js10
1 files changed, 10 insertions, 0 deletions
diff --git a/bootstrap/comments/admin/views/login/login.js b/bootstrap/comments/admin/views/login/login.js
new file mode 100644
index 0000000..a94955c
--- /dev/null
+++ b/bootstrap/comments/admin/views/login/login.js
@@ -0,0 +1,10 @@
+// Wait for the page HTML to be parsed
+document.addEventListener ('DOMContentLoaded', function () {
+ // Get login dialog
+ var login = document.getElementById ('login');
+
+ // Remove red border class
+ setTimeout (function () {
+ login.className = login.className.replace (/red ?/, '');
+ }, 1000);
+}, false);