Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: lib/ui.js

Issue 5292201558933504: Fixed line breaks in notification popup (Closed)
Patch Set: Created Feb. 20, 2014, 1:12 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« chrome/skin/overlay.css ('K') | « chrome/skin/overlay.css ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/ui.js
===================================================================
--- a/lib/ui.js
+++ b/lib/ui.js
@@ -1898,7 +1898,7 @@
let texts = Notification.getLocalizedTexts(notification);
let titleElement = window.document.getElementById("abp-notification-title");
- titleElement.setAttribute("value", texts.title);
+ titleElement.textContent = texts.title;
let messageElement = window.document.getElementById("abp-notification-message");
messageElement.innerHTML = "";
let docLinks = [];
« chrome/skin/overlay.css ('K') | « chrome/skin/overlay.css ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld