Skip to content
Snippets Groups Projects
Commit 191f197b authored by Stephan Porada's avatar Stephan Porada :speech_balloon:
Browse files

clean up

parent 7efb1624
No related branches found
No related tags found
No related merge requests found
......@@ -395,7 +395,11 @@
// valid result page element from the new pagination.
firstPageElement;
xpath = '//a[@class="page" and text()=1]';
firstPageElement = document.evaluate(xpath, document, null, XPathResult.FIRST_ORDERED_NODE_TYPE, null).singleNodeValue;
firstPageElement = document.evaluate(xpath,
document,
null,
XPathResult.FIRST_ORDERED_NODE_TYPE,
null).singleNodeValue;
firstPageElement.click();
} catch (e) {
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment