diff --git a/rhodecode/public/js/src/rhodecode/comments.js b/rhodecode/public/js/src/rhodecode/comments.js --- a/rhodecode/public/js/src/rhodecode/comments.js +++ b/rhodecode/public/js/src/rhodecode/comments.js @@ -775,10 +775,10 @@ var CommentsController = function() { linkifyComments($('.inline-comment-injected')); timeagoActivate(); - if (window.Waypoint !== undefined) { + if (window.updateSticky !== undefined) { // potentially our comments change the active window size, so we - // notify waypint to re-paint - Waypoint.refreshAll() + // notify sticky elements + updateSticky() } commentForm.setActionButtonsDisabled(false); diff --git a/rhodecode/templates/codeblocks/diffs.mako b/rhodecode/templates/codeblocks/diffs.mako --- a/rhodecode/templates/codeblocks/diffs.mako +++ b/rhodecode/templates/codeblocks/diffs.mako @@ -157,7 +157,7 @@ collapse_all = len(diffset.files) > coll ## anchor with support of sticky header
- +