use correctly scoped variable

pull/1/head
ansuz 2018-07-06 11:54:01 +02:00
parent d79064a4c5
commit 3d4b693722
1 changed files with 1 additions and 1 deletions

View File

@ -268,7 +268,7 @@ define([
// The following setTimeout is here to make sure whenRealtimeSyncs is called after
// `contentUpdate` so that we have an update userDoc in chainpad.
setTimeout(function () {
Realtime.whenRealtimeSyncs(RT.realtime, function () {
Realtime.whenRealtimeSyncs(rt.realtime, function () {
// the following stages are there to initialize a new drive
// if you are registering