Permalink
Browse files

fixed a couple of super find/replace bugs; fixed typo

  • Loading branch information...
1 parent a04a3c8 commit a851efde3facdb9dbbe5883102d91666727796b3 @ehynds ehynds committed Nov 26, 2011
Showing with 4 additions and 4 deletions.
  1. +3 −3 src/jquery.notify.js
  2. +1 −1 src/jquery.notify.min.js
View
@@ -30,7 +30,7 @@
this.element.addClass("ui-notify").children().addClass("ui-notify-message ui-notify-message-style").each(function(i){
var key = this.id || i;
self.keys.push(key);
- self.templates[key] = $(this).removeAttr("id").wrap("<div></div>").__super().html(); // because $(this).andSelf().html() no workie
+ self.templates[key] = $(this).removeAttr("id").wrap("<div></div>").parent().html(); // because $(this).andSelf().html() no workie
}).end().empty().show();
},
@@ -45,7 +45,7 @@
// remove default styling class if rolling w/ custom classes
if(opts && opts.custom){
- tpl = $(tpl).removeClass("ui-notify-message-style").wrap("<div></div>").__super().html();
+ tpl = $(tpl).removeClass("ui-notify-message-style").wrap("<div></div>").parent().html();
}
this.openNotifications = this.openNotifications || 0;
@@ -101,7 +101,7 @@
self.open();
// auto expire?
- if(typeof options.expires === "number" && option.expires > 0){
+ if(typeof options.expires === "number" && options.expires > 0){
setTimeout($.proxy(self.close, self), options.expires);
}
});
View

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.

0 comments on commit a851efd

Please sign in to comment.