From 4de672fe6845c05591417b7d5790d10b5b2cbb96 Mon Sep 17 00:00:00 2001 From: Kai Hendry Date: Tue, 29 Nov 2011 16:30:52 +0800 Subject: [PATCH] disable button on submit --- index.shtml | 8 +++++++- main.js | 4 ++-- style.css | 8 +++++++- 3 files changed, 16 insertions(+), 4 deletions(-) diff --git a/index.shtml b/index.shtml index 1a23aaf..1d4f1e7 100644 --- a/index.shtml +++ b/index.shtml @@ -4,6 +4,12 @@ GrepTweet + @@ -13,7 +19,7 @@ Create or update a backup of your tweets, so you can grep them

Try get older tweets, instead of newer tweets when updating

- + diff --git a/main.js b/main.js index e0b1cef..20eafb7 100644 --- a/main.js +++ b/main.js @@ -2,7 +2,7 @@ function grep(query) { $.getJSON("/u/" + NAME + "/grep.php?q=" + query + "&jsoncallback=?", function(data) { var results = "

Searched for: " + query + "

    "; - for (i in data) { + for (var i in data) { tweet = data[i].split('|'); if (tweet.length > 2) { results += "
  1. " + tweet.slice(2) + "
  2. "; // With datetime @@ -33,7 +33,7 @@ $(document).ready(function() { $("input[type=text]").focus(); - $("#source").html("" + NAME + " simple text backup file"); + $("#source").html('' + NAME + ' simple text backup file'); }); diff --git a/style.css b/style.css index 4448709..5c52784 100644 --- a/style.css +++ b/style.css @@ -6,11 +6,17 @@ footer { font-size: small; margin: 2em; } -input { +input[type=text] { font-size: 2em; border:1px solid #A78B53; } +input[type=submit] { + font-size: 3em; +} + + + .twtr-widget { float: right; } #users li { display: inline; }