fix possible bug

This commit is contained in:
flash 2017-03-19 16:56:31 +01:00
parent a7b0df7254
commit 8526ebfad5

View file

@ -9,8 +9,11 @@ namespace NP
private static User: string = null;
public static Start(user: string): void {
this.User = user;
if (this.Fetcher !== null) {
this.Stop();
}
this.User = user;
this.Fetcher = new AJAX;
this.Fetcher.AddCallback(200, () => {