From 649c27924e8e800994b7e10138a7c89b26eba5d7 Mon Sep 17 00:00:00 2001 From: moehm Date: Thu, 4 Dec 2014 19:27:13 +0100 Subject: Clear input from button instead automatically. --- down/view/templ-index.php | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/down/view/templ-index.php b/down/view/templ-index.php index cc554e1..c6f1d44 100644 --- a/down/view/templ-index.php +++ b/down/view/templ-index.php @@ -32,6 +32,7 @@
+
autofocus> @@ -42,6 +43,10 @@ + + + +
@@ -103,7 +108,6 @@ confirmButtonClass: button }); - $("#url").val(''); }, }); @@ -112,6 +116,10 @@ $(".fa-spinner").addClass("fa-spin"); + clean(id){ + $(id).val(''); + } + }; -- cgit v1.2.3