Merge branch '2.1'
This commit is contained in:
@@ -78,6 +78,9 @@ $(function() {
|
||||
|
||||
window.Cachet.Notifier = function () {
|
||||
this.notify = function (message, type, options) {
|
||||
if (_.isPlainObject(message)) {
|
||||
message = message.detail;
|
||||
}
|
||||
type = (typeof type === 'undefined' || type === 'error') ? 'error' : type;
|
||||
|
||||
var defaultOptions = {
|
||||
|
||||
Reference in New Issue
Block a user