mirror of
https://github.com/thewesker/greptweet.git
synced 2025-12-21 12:41:04 -05:00
split out JS to make it easier to lint
This commit is contained in:
15
index.js
Normal file
15
index.js
Normal file
@@ -0,0 +1,15 @@
|
||||
function massage() {
|
||||
humane.timeout = 5000;
|
||||
humane("Please wait...");
|
||||
humane("Still loading...");
|
||||
}
|
||||
|
||||
function submitPressed() {
|
||||
if (document.forms.f.checkValidity()) {
|
||||
b = document.getElementById("b");
|
||||
b.disabled = true;
|
||||
massage();
|
||||
document.forms.f.submit();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user