Skip to content
This repository has been archived by the owner on Jun 8, 2018. It is now read-only.

Commit

Permalink
Merge pull request #14 from nevernormal1/accept_styles
Browse files Browse the repository at this point in the history
Allow for overriding loader message styles
  • Loading branch information
jney committed Dec 21, 2011
2 parents 8af6a45 + 529e5f4 commit 8556fad
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions lib/jquery.pageless.js
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@
$el.append(loader);
// if we use the default loader, set the message
if (!opts.loaderHtml) {
$('#pageless-loader .msg').html(opts.loaderMsg);
$('#pageless-loader .msg').html(opts.loaderMsg).css(opts.msgStyles || {});
}
}
};
Expand Down Expand Up @@ -176,4 +176,4 @@
}, 'html');
}
};
})(jQuery);
})(jQuery);
2 changes: 1 addition & 1 deletion lib/jquery.pageless.min.js

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

0 comments on commit 8556fad

Please sign in to comment.