mirror of
https://github.com/thewesker/greptweet.git
synced 2025-12-24 14:01:05 -05:00
trying a trendy JS notification
This commit is contained in:
12
index.shtml
12
index.shtml
@@ -3,13 +3,17 @@
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<title>GrepTweet</title>
|
||||
<script src="humane.min.js" async></script>
|
||||
<link id='theme' rel='stylesheet' href='themes/bigbox.css'/>
|
||||
<link rel="stylesheet" type="text/css" href="style.css">
|
||||
<script>
|
||||
function submitPressed() {
|
||||
b = document.getElementById("b");
|
||||
b.disabled = true;
|
||||
b.innerHTML = '<img src="ajax-loader.gif">';
|
||||
document.forms.f.submit();
|
||||
if (document.forms.f.checkValidity()) {
|
||||
b = document.getElementById("b");
|
||||
b.disabled = true;
|
||||
humane.log("Please wait...");
|
||||
document.forms.f.submit();
|
||||
}
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
|
||||
Reference in New Issue
Block a user