Index: lib/ui.js |
=================================================================== |
--- a/lib/ui.js |
+++ b/lib/ui.js |
@@ -1887,8 +1887,10 @@ |
let messageElement = window.document.getElementById("abp-notification-message"); |
messageElement.innerHTML = ""; |
let docLinks = []; |
- for (let link of notification.links) |
- docLinks.push(Utils.getDocLink(link)); |
+ if (notification.links) |
+ for (let link of notification.links) |
+ docLinks.push(Utils.getDocLink(link)); |
+ |
insertMessage(messageElement, texts.message, docLinks); |
messageElement.addEventListener("click", function(event) |