mirror of
https://github.com/coder/code-server.git
synced 2025-07-29 13:02:10 +08:00
chore(vscode): update to 1.56.0
This commit is contained in:
@ -41,7 +41,7 @@ window.onload = () => {
|
||||
function doAfterImagesLoaded(cb: () => void) {
|
||||
const imgElements = document.getElementsByTagName('img');
|
||||
if (imgElements.length > 0) {
|
||||
const ps = Array.from(imgElements).map(e => {
|
||||
const ps = Array.from(imgElements, e => {
|
||||
if (e.complete) {
|
||||
return Promise.resolve();
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user