Click anywhere on the growler to close it.
authorJan Schneider <jan@horde.org>
Wed, 26 May 2010 15:17:20 +0000 (17:17 +0200)
committerJan Schneider <jan@horde.org>
Wed, 26 May 2010 15:17:20 +0000 (17:17 +0200)
horde/js/growler.js
horde/themes/screen.css

index e40cde8..09ee714 100644 (file)
             }
 
             noticeExit = new Element('DIV', { className: 'GrowlerNoticeExit' }).update("&times;");
-            noticeExit.observe('click', removeNotice.curry(notice, opts));
+            notice.observe('click', removeNotice.curry(notice, opts));
             notice.insert(noticeExit);
 
             if (!opts.header.empty()) {
index f698623..3055112 100644 (file)
@@ -967,6 +967,7 @@ ul.sound-list {
     background-repeat: no-repeat;
     color: #fff;
     overflow-x: hidden;
+    cursor: pointer;
 }
 #Growler div.GrowlerNoticeHead {
     font-weight: bold;
@@ -1032,7 +1033,6 @@ ul.sound-list {
 div.GrowlerNoticeExit {
     float: right;
     font-weight: bold;
-    cursor: pointer;
 }
 div.GrowlerNoticeExit:hover {
     color: #444;