diff --git a/core/modules/startup/rootwidget.js b/core/modules/startup/rootwidget.js index 8496b48dfda..95e902db655 100644 --- a/core/modules/startup/rootwidget.js +++ b/core/modules/startup/rootwidget.js @@ -79,7 +79,7 @@ exports.startup = function() { successNotification: event.paramObject && event.paramObject.successNotification, failureNotification: event.paramObject && event.paramObject.failureNotification, plainText: event.paramObject && event.paramObject.plainText - },event.paramObject.type); + },event.paramObject && event.paramObject.type); }); // Install the tm-focus-selector message $tw.rootWidget.addEventListener("tm-focus-selector",function(event) {