# HG changeset patch # User Alexander Plavin # Date 1378459858 -14400 # Node ID 2ac4e89ad769282a19d4b05c533c354b787e131b # Parent 1b8054b98d6888eca2329ea1a12578c9af2f3a7c 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. diff -r 1b8054b98d68 -r 2ac4e89ad769 mercurial/templates/static/mercurial.js --- 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 = {