mirror of https://github.com/docker/docs.git
Fix dupe events
This commit is contained in:
parent
4795e323e2
commit
bf0abc1d2c
|
@ -29,7 +29,7 @@ var Setup = React.createClass({
|
||||||
SetupStore.removeListener(SetupStore.ERROR_EVENT, this.update);
|
SetupStore.removeListener(SetupStore.ERROR_EVENT, this.update);
|
||||||
},
|
},
|
||||||
handleRetry: function () {
|
handleRetry: function () {
|
||||||
metrics.track('Retried Setup');
|
metrics.track('Setup Retried');
|
||||||
SetupStore.retry();
|
SetupStore.retry();
|
||||||
},
|
},
|
||||||
handleOpenWebsite: function () {
|
handleOpenWebsite: function () {
|
||||||
|
|
|
@ -197,7 +197,6 @@ var SetupStore = assign(Object.create(EventEmitter.prototype), {
|
||||||
this.emit(this.STEP_EVENT);
|
this.emit(this.STEP_EVENT);
|
||||||
}
|
}
|
||||||
yield this.wait();
|
yield this.wait();
|
||||||
metrics.track('Setup Retried');
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue