mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-09-13 00:13:43 +02:00
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:
@@ -48,7 +48,7 @@ function do_snapshot() {
|
|||||||
else
|
else
|
||||||
loadSyncURL("/control/screenshot?name="+filename+"&osd="+enableOSD+"&video="+enableVideo);
|
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) {
|
function do_showshot(_filename) {
|
||||||
if (_filename == "")
|
if (_filename == "")
|
||||||
|
Reference in New Issue
Block a user