Update pages/type_text.py
Browse files- 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 |
-
|
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...");
|