Anchor tracker to local action bar instead of post-level wrapper
This commit is contained in:
@@ -463,9 +463,9 @@ function getDirectActionAnchorInPost(postElement, buttonBar) {
|
||||
return null;
|
||||
}
|
||||
|
||||
return getTopLevelAnchorWithinPost(postElement, resolvedButtonBar)
|
||||
|| getTrackerInsertionAnchorInPost(postElement, resolvedButtonBar)
|
||||
|| resolvedButtonBar;
|
||||
// Use the local action bar container directly.
|
||||
// Promoting to post-level wrappers can place the marker below the entire comments block.
|
||||
return resolvedButtonBar;
|
||||
}
|
||||
|
||||
function getTopLevelAnchorWithinPost(postElement, element) {
|
||||
|
||||
Reference in New Issue
Block a user