Skip to content

Commit de6fd9d

Browse files
author
Eric Hynds
committed
do not limit close elements to links
1 parent 05d2c65 commit de6fd9d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.markdown

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ See [http://www.erichynds.com/jquery/a-jquery-ui-growl-ubuntu-notification-widge
1010
- Lightweight. Barely 2.5kb in size
1111
- Built on top of the jQuery UI widget factory
1212
- Templating system: include whatever you want inside notifications (images, links, etc.)
13+
- ThemeRoller support
1314
- beforeopen, open, close, and click events
1415
- Show completely different notifications in different containers
1516
- Ability to customize options on a notification-by-notification basis
1617
- Ability to programatically call `open` and `close` methods
1718
- Passes JSLint
1819
- Cross-browser compatible (including IE6)
19-

src/jquery.notify.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ $.extend($.ech.notify.instance.prototype, {
7878
m = (this.element = $(html)),
7979

8080
// close link
81-
closelink = m.find("a.ui-notify-close");
81+
closelink = m.find(".ui-notify-close");
8282

8383
// clickable?
8484
if(typeof this.options.click === "function"){

0 commit comments

Comments
 (0)