From 4b7f96a378f9363f964794e9f4a19424d903f757 Mon Sep 17 00:00:00 2001 From: d3m1g0d Date: Sat, 6 Apr 2019 15:47:29 +0200 Subject: [PATCH] typo fix --- frontend/frontend.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/frontend.js b/frontend/frontend.js index d97bb2d..168440e 100644 --- a/frontend/frontend.js +++ b/frontend/frontend.js @@ -1,4 +1,4 @@ -$('#update').click(updateData()) +$('#update').click(updateData; function updateData () { const url = 'http://' + window.location.hostname + ':5000/data'; $.get(url, function (data, status) {