+Стрелочные функции!
This commit is contained in:
@ -45,7 +45,7 @@ function CheckSession(path)
|
||||
this.run=function()
|
||||
{
|
||||
this.sendReq('?fn=2&'+this.ses_name+'='+this.ses_id);
|
||||
this.timer=setTimeout(function(thiz){ return function(){ thiz.run(); }}(this), 60000);
|
||||
this.timer=setTimeout(()=>this.run(), 60000);
|
||||
};
|
||||
|
||||
this.path=path; //URL файла session.php
|
||||
|
||||
Reference in New Issue
Block a user