Skip to content

Commit

Permalink
fix up error on close
Browse files Browse the repository at this point in the history
  • Loading branch information
jebu committed Feb 10, 2011
1 parent b9a1c66 commit b852e07
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tweets_notifier.html
Expand Up @@ -200,8 +200,10 @@
$("#notificationNext").click(function(){
if ((notificationQueue.length + archiveCount) > 0)
scrollNotification();
else
else{
window.close();
chrome.extension.getBackgroundPage().notificationOnDisplay = false;
}
});
$("#notificationPrev").click(function(){
if (archivalQueue.length > (archiveCount+1))
Expand Down

0 comments on commit b852e07

Please sign in to comment.