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

Unified Diff: notification.js

Issue 5809357497303040: Notification 'x' button in popup fix (Closed)
Patch Set: Created Feb. 22, 2014, 5:17 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: notification.js
===================================================================
--- a/notification.js
+++ b/notification.js
@@ -91,4 +91,9 @@
var notificationElement = document.getElementById("notification");
notificationElement.className = notification.severity;
notificationElement.style.display = "block";
+
+ document.getElementById("close-notification").addEventListener("click", function()
+ {
+ notificationElement.style.display = "none";
+ });
});
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld