diff --git a/docs/api/menu.md b/docs/api/menu.md index 464b98f520dd..1f60f7446aae 100644 --- a/docs/api/menu.md +++ b/docs/api/menu.md @@ -155,7 +155,8 @@ var template = [ ]; menu = Menu.buildFromTemplate(template); -Menu.setApplicationMenu(menu); + +Menu.setApplicationMenu(menu); // Must be called within app.on('ready', function(){ ... }); ``` ## Class: Menu