Permalink
Browse files

Added a timeout to notifications

  • Loading branch information...
1 parent 58ebcd8 commit 5d237050a2ffc299e891a7f59f2b5ff583196661 @adamalbrecht committed Aug 4, 2012
Showing with 6 additions and 1 deletion.
  1. +6 −1 notification.html
View
@@ -21,8 +21,13 @@
var commentsLink = document.getElementById("CommentsLink");
commentsLink.href = link.CommentsLink;
commentsLink.addEventListener("click", openLinkFront);
+
+ setTimeout(function() {
+ window.close();
+ }, 10000);
}
</script>
+</head>
<body onLoad="SetupNotification()">
<div id="header">
<img src="icon18.gif"/>
@@ -32,4 +37,4 @@
<a id="StoryLink" /><a id="CommentsLink" class="comments">(comments)</a>
</div>
</body>
-</html>
+</html>

0 comments on commit 5d23705

Please sign in to comment.