mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-10-28 06:07:40 +00:00
Revert "Fix popup position if popup is triggered from within an offsetParent element (#6887)"
This reverts commit 5b85786f73.
This commit is contained in:
@@ -191,7 +191,7 @@ DynannotateWidget.prototype.applyAnnotations = function() {
|
||||
"tv-selection-posy": (bounds.top).toString(),
|
||||
"tv-selection-width": (bounds.width).toString(),
|
||||
"tv-selection-height": (bounds.height).toString(),
|
||||
"tv-selection-coords": $tw.popup.buildCoordinates($tw.popup.coordinatePrefix.csOffsetParent,bounds)
|
||||
"tv-selection-coords": "(" + bounds.left + "," + bounds.top + "," + bounds.width + "," + bounds.height + ")"
|
||||
});
|
||||
if(self.hasAttribute("popup")) {
|
||||
$tw.popup.triggerPopup({
|
||||
|
||||
Reference in New Issue
Block a user