From e0a57214ef22a4a050f22deed188fd441f07cf56 Mon Sep 17 00:00:00 2001 From: schneefux Date: Sat, 29 Apr 2017 19:10:08 +0200 Subject: refactor & implement region crawls --- index.html | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'index.html') diff --git a/index.html b/index.html index 26c0f5e..fbbc5b0 100644 --- a/index.html +++ b/index.html @@ -37,6 +37,14 @@

+

+

+ + +
+

@@ -108,6 +116,11 @@ $.post("/api/player/" + ign + "/update-brawl"); } }); + $("#update-region-form").submit((e) => { + e.preventDefault(); + const region = $("#update-region-region").val(); + $.post("/api/match/" + region + "/update"); + }); $("#update-random-form").submit((e) => { e.preventDefault(); $.post("/api/player"); -- cgit v1.3.1