src/nhttpd/web/Y_Tools_Screenshot.yhtm: remove window.setTimeout,

it seems fbshot executed in sync, not in background ?
so not clear why to wait here after screenshot is ready.
video screenshot now also not async
This commit is contained in:
[CST] Focus
2013-03-19 17:27:38 +04:00
parent 370e3dd690
commit 8f128cc512

View File

@@ -48,7 +48,7 @@ function do_snapshot() {
else
loadSyncURL("/control/screenshot?name="+filename+"&osd="+enableOSD+"&video="+enableVideo);
window.setTimeout("do_showshot('"+filename+"');", (enableVideo == 1) ? 6500 : 3000);
do_showshot(filename);
}
function do_showshot(_filename) {
if (_filename == "")