Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -177,17 +177,21 @@ def main():
|
|
177 |
document.getElementById('question1').onclick = function() {
|
178 |
document.querySelectorAll('div.stTextInput input')[0].value = 'Was genau ist ein Belegarzt?';
|
179 |
document.querySelectorAll('div.stTextInput input')[0].dispatchEvent(new Event('change'));
|
|
|
180 |
};
|
181 |
document.getElementById('question2').onclick = function() {
|
182 |
document.querySelectorAll('div.stTextInput input')[0].value = 'Wofür wird die Alpha-ID verwendet?';
|
183 |
document.querySelectorAll('div.stTextInput input')[0].dispatchEvent(new Event('change'));
|
|
|
184 |
};
|
185 |
document.getElementById('question3').onclick = function() {
|
186 |
document.querySelectorAll('div.stTextInput input')[0].value = 'Was sind die Vorteile des ambulanten operierens?';
|
187 |
document.querySelectorAll('div.stTextInput input')[0].dispatchEvent(new Event('change'));
|
|
|
188 |
};
|
189 |
</script>
|
190 |
""", unsafe_allow_html=True)
|
191 |
|
|
|
192 |
if __name__ == "__main__":
|
193 |
main()
|
|
|
177 |
document.getElementById('question1').onclick = function() {
|
178 |
document.querySelectorAll('div.stTextInput input')[0].value = 'Was genau ist ein Belegarzt?';
|
179 |
document.querySelectorAll('div.stTextInput input')[0].dispatchEvent(new Event('change'));
|
180 |
+
document.querySelector('button[data-baseweb="button"]').click();
|
181 |
};
|
182 |
document.getElementById('question2').onclick = function() {
|
183 |
document.querySelectorAll('div.stTextInput input')[0].value = 'Wofür wird die Alpha-ID verwendet?';
|
184 |
document.querySelectorAll('div.stTextInput input')[0].dispatchEvent(new Event('change'));
|
185 |
+
document.querySelector('button[data-baseweb="button"]').click();
|
186 |
};
|
187 |
document.getElementById('question3').onclick = function() {
|
188 |
document.querySelectorAll('div.stTextInput input')[0].value = 'Was sind die Vorteile des ambulanten operierens?';
|
189 |
document.querySelectorAll('div.stTextInput input')[0].dispatchEvent(new Event('change'));
|
190 |
+
document.querySelector('button[data-baseweb="button"]').click();
|
191 |
};
|
192 |
</script>
|
193 |
""", unsafe_allow_html=True)
|
194 |
|
195 |
+
|
196 |
if __name__ == "__main__":
|
197 |
main()
|