mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2025-07-28 06:31:37 +00:00
clean up
This commit is contained in:
@@ -395,7 +395,11 @@
|
|||||||
// valid result page element from the new pagination.
|
// valid result page element from the new pagination.
|
||||||
firstPageElement;
|
firstPageElement;
|
||||||
xpath = '//a[@class="page" and text()=1]';
|
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();
|
firstPageElement.click();
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user