mediawiki-extensions-Popups/resources
Ed Sanders d4b0d10b13 Account for scroll offset when using non-mouse positioning
offsetTop includes the scroll offset, so when using it to
calculate clientTop (position relative to the viewport),
we need to substract that offset.

clientY comes from mouse events and is already relative
to the viewport so needs no adjustment.

Bug: T270215
Change-Id: I545b14059f416678fc0d35413a76334e57bfc495
2024-03-21 13:35:13 +00:00
..
dist Account for scroll offset when using non-mouse positioning 2024-03-21 13:35:13 +00:00
ext.popups Generalize settings code (attempt 2) 2024-01-09 17:24:09 -08:00
ext.popups.images build: Update 'svgo' to latest v3.2.0 and re-minify SVGs 2024-01-16 00:13:08 +01:00
ext.popups.referencePreviews Reference previews should no longer use Webpack 2024-02-02 10:52:30 -08:00
.eslintrc.json ES6: Prefer Object.assign and Promise to jQuery 2023-04-19 17:02:14 -07:00