mirror of
https://github.com/Second-Hand-Friends/kleinanzeigen-bot.git
synced 2026-03-12 02:31:45 +01:00
FIX selecting price type
selecting the wanted index doesn't trigger a change event which is necessary to update internal variables regarding the price type
This commit is contained in:
committed by
Sebastian Thomschke
parent
72283bf069
commit
929459a08d
@@ -552,6 +552,7 @@ class WebScrapingMixin:
|
||||
{{
|
||||
if(element.options[i].value == "{selected_value}") {{
|
||||
element.selectedIndex = i;
|
||||
element.dispatchEvent(new Event('change', {{ bubbles: true }}));
|
||||
break;
|
||||
}}
|
||||
}}
|
||||
|
||||
Reference in New Issue
Block a user