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 null;
|
||||||
}
|
}
|
||||||
|
|
||||||
return getTopLevelAnchorWithinPost(postElement, resolvedButtonBar)
|
// Use the local action bar container directly.
|
||||||
|| getTrackerInsertionAnchorInPost(postElement, resolvedButtonBar)
|
// Promoting to post-level wrappers can place the marker below the entire comments block.
|
||||||
|| resolvedButtonBar;
|
return resolvedButtonBar;
|
||||||
}
|
}
|
||||||
|
|
||||||
function getTopLevelAnchorWithinPost(postElement, element) {
|
function getTopLevelAnchorWithinPost(postElement, element) {
|
||||||
|
|||||||
Reference in New Issue
Block a user