diff --git a/html5/js/Client.js b/html5/js/Client.js
index dfee2236..c5544c05 100644
--- a/html5/js/Client.js
+++ b/html5/js/Client.js
@@ -2724,6 +2724,10 @@ class XpraClient {
li.append(ul);
startmenu.append(li);
}
+
+ if (this.xdg_menu.length === 0) {
+ startmenu.children().css("box-shadow", "none");
+ }
}
_process_setting_change(packet) {