Не знаю что

This commit is contained in:
2024-01-03 01:24:04 +06:00
parent 6df92f2e04
commit 98faea2e35
9 changed files with 19 additions and 49 deletions

View File

@ -244,6 +244,10 @@ function alert2(title,smallText,fullText,okFunc=null)
smallText=fullText;
fullText='';
}
let pos1=smallText.indexOf('[[');
let pos2=smallText.indexOf(']]');
if(pos1>=0 && pos2>=0 && pos1<pos2) smallText=smallText.substring(pos1+2, pos2);
let win=new TWin(true);
win.BuildGUI(10,10);
win.setCaption(document.createTextNode(title));