diff --git a/client.js b/client.js index b347b827..59dc0f13 100644 --- a/client.js +++ b/client.js @@ -107,12 +107,10 @@ function Client (options) { }) var app = this - this.unbind = [] - - this.unbind.push(this.sync.on('synced', function () { + this.sync.on('synced', function () { app.saveToLS('Synced', app.sync.synced) app.saveToLS('OtherSynced', app.sync.otherSynced) - })) + }) } Client.prototype = {