diff --git a/aprsd/web/chat/templates/index.html b/aprsd/web/chat/templates/index.html index c528ba3..0388475 100644 --- a/aprsd/web/chat/templates/index.html +++ b/aprsd/web/chat/templates/index.html @@ -26,6 +26,11 @@ start_update(); init_chat(); reset_Tabs(); + + if (location.protocol != 'https:') { + // Have to disable the beacon button. + $('#send_beacon').prop('disabled', true); + } });