From 7cde1e1d82ce372d128cc80eb2a21bf48b0894c2 Mon Sep 17 00:00:00 2001 From: Antoine Martin Date: Tue, 28 Nov 2023 11:40:05 +0700 Subject: [PATCH] don't show the clock menu entry until we have the time --- html5/index.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/html5/index.html b/html5/index.html index c5b8b6ca..29fb9bd5 100644 --- a/html5/index.html +++ b/html5/index.html @@ -1262,8 +1262,8 @@

Xpra Bug Report

} function init_clock(client, enabled) { + $("#clock_menu_entry").hide(); if (!enabled) { - $("#clock_menu_entry").hide(); return; } function update_clock() { @@ -1297,6 +1297,7 @@

Xpra Bug Report

function wait_for_time() { if (client.last_ping_local_time > 0) { + $("#clock_menu_entry").show(); update_clock(); } else { //check again soon: