mirror of
https://github.com/discourse/discourse.git
synced 2024-11-29 20:24:05 -06:00
383f48c688
Using pinch-zoom on mobile devices with lightbox images can lead to scrolling of background content. This change handles this by capturing the window.scrollY value when opening the lightbox, then when exiting we check if the scroll position has changed and reset it. |
||
---|---|---|
.. | ||
images | ||
javascripts | ||
stylesheets |