DB changes
This commit is contained in:
@@ -198,7 +198,7 @@ const matchDropdown = (mut, testName, openOrClose) => {
|
||||
return mut.target.parentNode.parentNode.classList.contains(testName) &&
|
||||
Array.from(nodes).some(
|
||||
n => n.nodeType === Node.ELEMENT_NODE &&
|
||||
n.classList.contains("db-web-dropdown-outer-container"))
|
||||
n.classList.contains("db-web-transition-dropdown_outer-container"))
|
||||
}
|
||||
|
||||
/**@param {MutationRecord} mut */
|
||||
@@ -225,7 +225,7 @@ const startClaim = {
|
||||
|
||||
const fillData = {
|
||||
name: "fillData",
|
||||
match: node => node.classList.contains("fahrgastrechte-bahn-card-auswahl"),
|
||||
match: node => node.classList.contains("bahncard-auswahl"),
|
||||
execute: node => {
|
||||
settings.get(["bcnum", "bday"]).then(cfg => {
|
||||
for (const [k, v] of Object.entries(cfg)) {
|
||||
@@ -245,7 +245,7 @@ const clickContinue = {
|
||||
name: "clickContinue",
|
||||
match: () => $('#fahrgastrechte-bahn-card-auswahl-geburts-datum--db-web-text-input').value !== "",
|
||||
execute: e => {
|
||||
const continueButton = $('.fahrgastrechte-bahn-card-auswahl button.fahrgastrechte-continue-button');
|
||||
const continueButton = $('.bahncard-auswahl button.fahrgastrechte-continue-button');
|
||||
if (continueButton instanceof Element) {
|
||||
continueButton.dispatchEvent(_clickEv());
|
||||
return true;
|
||||
|
Reference in New Issue
Block a user