focus at last, in cmd
This commit is contained in:
+1
-1
@@ -1399,7 +1399,7 @@ output:
|
|||||||
let inputarea = document.getElementById(\'inputarea\');
|
let inputarea = document.getElementById(\'inputarea\');
|
||||||
//console.log(a + ", " + inputarea.value);
|
//console.log(a + ", " + inputarea.value);
|
||||||
inputarea.focus();
|
inputarea.focus();
|
||||||
inputarea.setSelectionRange(0, inputarea.value.length);
|
inputarea.setSelectionRange(inputarea.value.length, inputarea.value.length);
|
||||||
}, 500);
|
}, 500);
|
||||||
</script>';
|
</script>';
|
||||||
return message($html, 'Run cmd', $statusCode);
|
return message($html, 'Run cmd', $statusCode);
|
||||||
|
|||||||
Reference in New Issue
Block a user