tests/test-hgweb-empty.t
changeset 35409 f84b01257e06
parent 35407 27ab3150cd50
child 35415 56854848e485
--- a/tests/test-hgweb-empty.t	Mon Dec 11 13:47:58 2017 +0800
+++ b/tests/test-hgweb-empty.t	Mon Dec 11 15:43:56 2017 +0800
@@ -324,9 +324,12 @@
   
   <script type="text/javascript">
       ajaxScrollInit(
-              '/graph/-1?revcount=%next%&style=paper',
-              60+60,
-              function (htmlText, previousVal) { return previousVal + 60; },
+              '/graph/%next%?graphtop=0000000000000000000000000000000000000000',
+              '', <!-- NEXTHASH
+              function (htmlText, previousVal) {
+                  var m = htmlText.match(/'(\w+)', <!-- NEXTHASH/);
+                  return m ? m[1] : null;
+              },
               '#wrapper',
               '<div class="%class%" style="text-align: center;">%text%</div>',
               'graph'