diff --git a/www/_socket/realtime-input.js b/www/_socket/realtime-input.js index 06caa1c5d..565200aba 100644 --- a/www/_socket/realtime-input.js +++ b/www/_socket/realtime-input.js @@ -148,7 +148,7 @@ define([ channel, // the channel we're to connect to // initialState argument. (optional) - config.initialState || '', + config.initialState || '{}', // transform function (optional), which handles conflicts { transformFunction: config.transformFunction });