Commit fa4e51f3 authored by JC Brand's avatar JC Brand

Handle undefined settings being passed in.

parent 49d08347
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment