fix possible bug
This commit is contained in:
parent
a7b0df7254
commit
8526ebfad5
1 changed files with 4 additions and 1 deletions
|
@ -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, () => {
|
||||
|
|
Loading…
Reference in a new issue