From 1ffa65c88b570aca2b5d3b9b7202e30beeee2fe7 Mon Sep 17 00:00:00 2001
From: root
Date: Fri, 5 Dec 2014 05:06:52 +0100
Subject: Made it ipv6 ready.
---
down/view/templ-index.php | 16 ++++++++++------
1 file changed, 10 insertions(+), 6 deletions(-)
(limited to 'down/view/templ-index.php')
diff --git a/down/view/templ-index.php b/down/view/templ-index.php
index cd67451..bfa68ab 100644
--- a/down/view/templ-index.php
+++ b/down/view/templ-index.php
@@ -4,8 +4,9 @@
-
+
@@ -44,7 +45,7 @@
}
?>
-
+
@@ -116,10 +117,13 @@
$(".fa-spinner").addClass("fa-spin");
- };
+ document.addEventListener('keydown', function(event) {
+ $("#url").focus();
+ });
- function clean(id){
- $(id).val('');
- }
+ $("#clear").click(function(){
+ $("#url").val('').focus();
+ })
+ };
--
cgit v1.2.3