Always keep doc_id update to date in track changes

This commit is contained in:
James Allen 2014-03-31 11:55:21 +01:00
parent 077266b7c9
commit 81cb986f89

View file

@ -40,8 +40,8 @@ define [
bindToFileTreeEvents: () ->
@ide.fileTreeManager.on "open:doc", (doc_id) =>
@doc_id = doc_id
if @enabled
@doc_id = doc_id
@updateDiff()
AB_BUCKETS: ["control", "one-week", "pop-up"]