mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2024-11-15 01:05:42 +00:00
clean up
This commit is contained in:
parent
7efb16246f
commit
191f197b6c
@ -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) {
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user