Skip to content

Commit

Permalink
Changing defaults to be called settings for initial execution on page…
Browse files Browse the repository at this point in the history
… load messages
  • Loading branch information
benschwarz committed Sep 21, 2008
1 parent 6e22a15 commit a60e116
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/js/choones.js
Expand Up @@ -3,7 +3,7 @@
var args = arguments[2] || {};

// Default settings
defaults = {
settings = {
type: 'success',
display_time: 5000
};
Expand All @@ -29,7 +29,7 @@

init = function (title, message, args) {
display = {title: title, message: message};
settings = $.extend(defaults, args);
settings = $.extend(settings, args);

resetTimeout();
setType();
Expand Down

0 comments on commit a60e116

Please sign in to comment.