Pārlūkot izejas kodu

fix: `auto_scroll_bottom` setting don't work

wangweimin 4 gadi atpakaļ
vecāks
revīzija
639425d74b
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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);