Handle undefined settings being passed in.
This commit is contained in:
parent
49d0834719
commit
fa4e51f3ba
@ -143,6 +143,7 @@
|
||||
|
||||
converse.initialize = function (settings, callback) {
|
||||
"use strict";
|
||||
settings = typeof settings !== "undefined" ? settings : {};
|
||||
var init_deferred = new $.Deferred();
|
||||
var converse = this;
|
||||
var unloadevent;
|
||||
|
Loading…
Reference in New Issue
Block a user