diff --git a/app/templates/corpora/analyse_corpus.html.j2 b/app/templates/corpora/analyse_corpus.html.j2 index 5fa4031c..610a23ce 100644 --- a/app/templates/corpora/analyse_corpus.html.j2 +++ b/app/templates/corpora/analyse_corpus.html.j2 @@ -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) { }