diff --git a/html5/js/Client.js b/html5/js/Client.js
index 8fa367c6..df501015 100644
--- a/html5/js/Client.js
+++ b/html5/js/Client.js
@@ -2770,7 +2770,7 @@ class XpraClient {
}
if (this.xdg_menu.length === 0) {
- startmenu.children().css("box-shadow", "none");
+ startmenu.css("box-shadow", "none");
}
}