File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change 57985798 if (e.style.display === "none" || e.getAttribute("aria-disabled") === "true") {
57995799 return false;
58005800 }
5801- if (/\bbanner|slick|slide|carousel|gallery /i.test(e.id)) return false;
5801+ if (/\bbanner|slick|slide|carousel/i.test(e.id)) return false;
58025802 if (e.className) {
5803- if (!/page/i.test(e.className) && /\bbanner|slick|slide|carousel|gallery| disabled\s*$/i.test(e.className)) {
5803+ if (!/page/i.test(e.className) && /\bbanner|slick|slide|carousel|disabled\s*$/i.test(e.className)) {
58045804 return false;
58055805 } else if (e.classList) {
58065806 if (e.classList.contains('disabled') || e.classList.contains('active')) {
58095809 }
58105810 }
58115811 let ariaLabel = e.getAttribute("aria-label");
5812- if (ariaLabel && /\bbanner|slick|slide|carousel|gallery /i.test(ariaLabel)) return false;
5812+ if (ariaLabel && /\bbanner|slick|slide|carousel/i.test(ariaLabel)) return false;
58135813 return true;
58145814 };
58155815 if (!ele) return false;
59195919 ".btn_next:not([disabled])",
59205920 ".btn-next:not([disabled])",
59215921 '//button[contains(@class, "Page")][text()="Next"]',
5922- '//button[contains(@class, "page")][text()="next"]'
5922+ '//button[contains(@class, "page")][text()="next"]',
5923+ '//form/button[@type="submit"][text()="Next"]'
59235924 ];
59245925 let next = await this.querySelectorList(body, selectorList, doc.defaultView);
59255926 if (!next) {
You can’t perform that action at this time.
0 commit comments