This commit is contained in:
d3m1g0d
2019-04-06 15:47:29 +02:00
parent 02ebfd7ce2
commit 4b7f96a378

View File

@@ -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) {