Skip to content

Commit

Permalink
fixed a couple of super find/replace bugs; fixed typo
Browse files Browse the repository at this point in the history
  • Loading branch information
ehynds committed Nov 26, 2011
1 parent a04a3c8 commit a851efd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/jquery.notify.js
Expand Up @@ -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();
},

Expand All @@ -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;
Expand Down Expand Up @@ -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);
}
});
Expand Down
2 changes: 1 addition & 1 deletion src/jquery.notify.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit a851efd

Please sign in to comment.