hgweb: add CSS class to the last entry on a page
The entry which was last before an ajax load now has a specific CSS class
for easier styling.
--- a/mercurial/templates/static/mercurial.js Thu Sep 19 15:29:28 2013 -0400
+++ b/mercurial/templates/static/mercurial.js Fri Sep 06 13:30:58 2013 +0400
@@ -367,6 +367,7 @@
if (scrollHeight - (scrollTop + clientHeight) < 50) {
updateInitiated = true;
removeByClassName('scroll-loading-error');
+ container.lastElementChild.classList.add('scroll-separator');
if (!nextHash) {
var message = {