From 191f197b6c70aab66823db989d75f7fc573836e2 Mon Sep 17 00:00:00 2001 From: Stephan Porada Date: Thu, 23 Apr 2020 11:21:20 +0200 Subject: [PATCH] clean up --- app/templates/corpora/analyse_corpus.html.j2 | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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) { }