From 9b45a305cc0c4f2b5ef0d84999de178c3bd2e0b9 Mon Sep 17 00:00:00 2001 From: Jan Schneider Date: Wed, 26 May 2010 17:17:20 +0200 Subject: [PATCH] Click anywhere on the growler to close it. --- horde/js/growler.js | 2 +- horde/themes/screen.css | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/horde/js/growler.js b/horde/js/growler.js index e40cde82f..09ee7144d 100644 --- a/horde/js/growler.js +++ b/horde/js/growler.js @@ -225,7 +225,7 @@ } noticeExit = new Element('DIV', { className: 'GrowlerNoticeExit' }).update("×"); - noticeExit.observe('click', removeNotice.curry(notice, opts)); + notice.observe('click', removeNotice.curry(notice, opts)); notice.insert(noticeExit); if (!opts.header.empty()) { diff --git a/horde/themes/screen.css b/horde/themes/screen.css index f69862354..30551122c 100644 --- a/horde/themes/screen.css +++ b/horde/themes/screen.css @@ -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; -- 2.11.0