diff --git a/html5/index.html b/html5/index.html
index eec80b92..81c2b316 100644
--- a/html5/index.html
+++ b/html5/index.html
@@ -1067,8 +1067,8 @@
Xpra Bug Report
}
function init_clock(client, enabled) {
+ $("#clock_menu_entry").hide();
if (!enabled) {
- $("#clock_menu_entry").hide();
return;
}
function update_clock() {
@@ -1095,6 +1095,7 @@ Xpra Bug Report
function wait_for_time() {
if (client.last_ping_local_time>0) {
+ $("#clock_menu_entry").show();
update_clock();
}
else {