X-Git-Url: http://lists.indexdata.dk/cgi-bin?a=blobdiff_plain;f=mkdru.client.js;h=0561a7eebefca074e2d6ce834cbec00b48c8e23e;hb=2ffa18bf92cabac1c8104c223a9edfd34a816107;hp=11c4f692c7ba6b1790b942728882be2959f3a17f;hpb=fdbf888aa2a6d904b3d4a54ad46f5ca7f9f81266;p=mkdru-moved-to-drupal.org.git diff --git a/mkdru.client.js b/mkdru.client.js index 11c4f69..0561a7e 100644 --- a/mkdru.client.js +++ b/mkdru.client.js @@ -198,6 +198,8 @@ mkdru.hashChange = function () { mkdru.hashFromState(); return; } + // return to top of page + window.scrollTo(0,0); // do we need to restart the search? var searchTrigger = false; // shallow copy of state so we can see what changed.