Skip to content
This repository has been archived by the owner on Jan 22, 2019. It is now read-only.

Commit

Permalink
Fix undefined this error (#92)
Browse files Browse the repository at this point in the history
  • Loading branch information
dadlerj authored and KattMingMing committed Feb 6, 2018
1 parent d404e13 commit b00591d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/tracking/ExtensionEventLogger.tsx
Expand Up @@ -14,7 +14,7 @@ export class ExtensionEventLogger extends EventLogger {
}
this.telligentWrapper = new TelligentWrapper('SourcegraphExtension', 'BrowserExtension', true, true)

chrome.runtime.sendMessage({ type: 'getIdentity' }, this.updatePropsForUser)
chrome.runtime.sendMessage({ type: 'getIdentity' }, this.updatePropsForUser.bind(this))

chrome.storage.sync.get(items => {
this.trackingEnabled = items.eventTrackingEnabled
Expand Down

0 comments on commit b00591d

Please sign in to comment.