소스 검색

fix: `auto_scroll_bottom` setting don't work

wangweimin 4 년 전
부모
커밋
639425d74b
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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);