georad commited on
Commit
83702b8
·
verified ·
1 Parent(s): c3d3edf

Update pages/type_text.py

Browse files
Files changed (1) hide show
  1. pages/type_text.py +2 -1
pages/type_text.py CHANGED
@@ -50,7 +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
 
55
  if (scrollableContainer) {
56
  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('.stElementContainer'); // <--- REPLACE THIS ENTIRE LINE IF USING getElementById
54
+ const scrollableContainer = document.getElementById('stMainBlockContainer')
55
 
56
  if (scrollableContainer) {
57
  console.log("Scrollable container found. Scrolling...");