Hack auto update checked_in cell because we removed pubnub dependency

This commit is contained in:
ACM 2018-01-11 23:12:51 -05:00
parent 71a2e9999e
commit 18d846c8c1

View file

@ -174,6 +174,8 @@ const checkIn = (id) => {
title = 'Checked in!'
msg = 'The hacker was checked in!'
type = 'success'
// Update table in admin.html (This is a hack, and a terrible one, but at least there's feedback on the change.
document.getElementById(id + '-checked_in').innerHTML = "True"
} else {
title = 'Error!'
msg = JSON.stringify(data)