Update app.py
Browse files
app.py
CHANGED
|
@@ -248,12 +248,12 @@ st.markdown("""
|
|
| 248 |
button.addEventListener('click', function(e) {
|
| 249 |
e.preventDefault();
|
| 250 |
const team = this.textContent;
|
| 251 |
-
const hiddenButton = document.querySelector(`button[
|
| 252 |
-
document.querySelector(`button[
|
| 253 |
if (hiddenButton) {
|
| 254 |
hiddenButton.click();
|
| 255 |
}
|
| 256 |
});
|
| 257 |
});
|
| 258 |
</script>
|
| 259 |
-
""", unsafe_allow_html=True)
|
|
|
|
| 248 |
button.addEventListener('click', function(e) {
|
| 249 |
e.preventDefault();
|
| 250 |
const team = this.textContent;
|
| 251 |
+
const hiddenButton = document.querySelector(`button[data-testid="hidden_team_${team}_row1"]`) ||
|
| 252 |
+
document.querySelector(`button[data-testid="hidden_team_${team}_row2"]`);
|
| 253 |
if (hiddenButton) {
|
| 254 |
hiddenButton.click();
|
| 255 |
}
|
| 256 |
});
|
| 257 |
});
|
| 258 |
</script>
|
| 259 |
+
""", unsafe_allow_html=True)
|