Prechádzať zdrojové kódy

fix: `auto_scroll_bottom` setting don't work

wangweimin 4 rokov pred
rodič
commit
639425d74b
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  1. 1 1
      webiojs/src/handlers/output.ts

+ 1 - 1
webiojs/src/handlers/output.ts

@@ -45,7 +45,7 @@ export class OutputHandler implements CommandHandler {
             if (container_elem.length === 0)
                 return console.error(`Scope '${msg.spec.scope}' not found`);
 
-            if (!msg.spec.scope || msg.spec.scope === 'pywebio-scope-ROOT') output_to_root = true;
+            if (!msg.spec.scope || msg.spec.scope === '#pywebio-scope-ROOT') output_to_root = true;
 
             if (msg.spec.position === 0)
                 container_elem.prepend(elem);