georad commited on
Commit
62ae748
·
verified ·
1 Parent(s): 79adae4

Update pages/type_text.py

Browse files
Files changed (1) hide show
  1. pages/type_text.py +2 -2
pages/type_text.py CHANGED
@@ -50,8 +50,8 @@ def scrollToBottom():
50
 
51
  // *** REPLACE THE SELECTOR BELOW with the correct one you found by inspecting your app's HTML ***
52
  // Use document.querySelector('.your-class-name') for a class, or document.getElementById('your-id') for an ID.
53
- #const scrollableContainer = document.querySelector('.stElementContainer'); // <--- REPLACE THIS ENTIRE LINE IF USING getElementById
54
- const scrollableContainer = document.getElementById('stMainBlockContainer'); // <--- REPLACE THIS ENTIRE LINE IF USING querySelector
55
 
56
  if (scrollableContainer) {
57
  console.log("Scrollable container found. Scrolling...");
 
50
 
51
  // *** REPLACE THE SELECTOR BELOW with the correct one you found by inspecting your app's HTML ***
52
  // Use document.querySelector('.your-class-name') for a class, or document.getElementById('your-id') for an ID.
53
+ const scrollableContainer = document.querySelector('.stMain'); // <--- REPLACE THIS ENTIRE LINE IF USING getElementById
54
+ // const scrollableContainer = document.getElementById('stMainBlockContainer'); // <--- REPLACE THIS ENTIRE LINE IF USING querySelector
55
 
56
  if (scrollableContainer) {
57
  console.log("Scrollable container found. Scrolling...");