terms of service added

This commit is contained in:
Christian Müller
2016-07-02 17:24:23 +02:00
parent 5fe62f2b47
commit 29200e6671
6 changed files with 66 additions and 6 deletions
+6
View File
@@ -18,6 +18,12 @@ function saveDraft() {
localStorage.setItem("draft", $note.value);
}
function enableButton() {
var checkbox = $('tos');
var button = $('publish-button');
button.disabled = !checkbox.checked;
}
function onLoad() {
$note = $("note");
$action = $("action").value;