From fc3881a7379cfc061fce3a5ac74ee9150909f707 Mon Sep 17 00:00:00 2001 From: schneefux Date: Mon, 10 Apr 2017 21:10:55 +0200 Subject: add global crunch API --- index.html | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'index.html') diff --git a/index.html b/index.html index 6325eb1..a99c6ca 100644 --- a/index.html +++ b/index.html @@ -28,6 +28,11 @@

+

+

+ +
+

@@ -106,6 +111,10 @@ subscribe(ign); $.post("/api/player/" + ign + "/crunch"); }); + $("#crunchglobal-form").submit((e) => { + e.preventDefault(); + $.post("/api/crunch"); + }); -- cgit v1.3.1