Changeset 3329829
- Timestamp:
- 07/17/2025 03:52:12 PM (8 months ago)
- Location:
- citation-note
- Files:
-
- 2 edited
-
tags/1.0.0/assets/js/citation-note.js (modified) (1 diff)
-
trunk/assets/js/citation-note.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
citation-note/tags/1.0.0/assets/js/citation-note.js
r3317093 r3329829 26 26 } 27 27 // Prevent bottom overflow 28 const bottomEdge = top + popupHeight;29 if (bottomEdge > window.scrollY + window.innerHeight) {30 top = window.scrollY + rect.top - popupHeight - 6; // show above the reference31 }28 // const bottomEdge = top + popupHeight; 29 // if (bottomEdge > window.scrollY + window.innerHeight) { 30 // top = window.scrollY + rect.top - popupHeight - 6; // show above the reference 31 // } 32 32 popup.style.top = top + "px"; 33 33 popup.style.left = left + "px"; -
citation-note/trunk/assets/js/citation-note.js
r3317114 r3329829 26 26 } 27 27 // Prevent bottom overflow 28 const bottomEdge = top + popupHeight;29 if (bottomEdge > window.scrollY + window.innerHeight) {30 top = window.scrollY + rect.top - popupHeight - 6; // show above the reference31 }28 // const bottomEdge = top + popupHeight; 29 // if (bottomEdge > window.scrollY + window.innerHeight) { 30 // top = window.scrollY + rect.top - popupHeight - 6; // show above the reference 31 // } 32 32 popup.style.top = top + "px"; 33 33 popup.style.left = left + "px";
Note: See TracChangeset
for help on using the changeset viewer.