diff --git a/util/gpu/web/hb-gpu-web-webgpu.cc b/util/gpu/web/hb-gpu-web-webgpu.cc index b955e3d6b..986173dc1 100644 --- a/util/gpu/web/hb-gpu-web-webgpu.cc +++ b/util/gpu/web/hb-gpu-web-webgpu.cc @@ -766,7 +766,7 @@ on_adapter (WGPURequestAdapterStatus status, window._webgpuError = true; var el = document.getElementById ('loading'); if (el) { - el.style.display = ''; + el.style.display = ""; var html = 'WebGPU adapter not available.
' + 'Browser support status'; @@ -1040,7 +1040,7 @@ main (int argc, char **argv) window._webgpuError = true; var el = document.getElementById ('loading'); if (el) { - el.style.display = ''; + el.style.display = ""; el.innerHTML = 'WebGPU is not available in this browser.
' + 'Try the WebGL version'; el.style.font = '18px sans-serif';