+Стрелочные функции!

This commit is contained in:
2020-11-12 17:09:03 +06:00
parent 046d957b7d
commit 27d49bf102
8 changed files with 32 additions and 63 deletions

View File

@ -1304,7 +1304,7 @@ class TWin
this.ca=document.getElementById('TWin_Ca_'+this.tWinId);
this.setSel();
this.div.onmousedown=function(thiz){ return function(e){ thiz.setSel(); } }(this);
this.div.onmousedown=(e)=>this.setSel();
//Кнопка закрыть окно
let obj=document.getElementById('TWin_CL_'+this.tWinId);
if(obj!=null){