=== Steps to reproduce
# Create an account and login
# Upload one image
# Visit your uploads page in mobileview
=== Expected results
The image is displayed
=== Actual results
The image is displayed with a loading spinner that persists indefinitely
=== Environments observed
**Browser Version: **
- Chromium v64.0.3282.167 (Official Build) Built on Ubuntu , running on Ubuntu 17.10 (64-bit)
=== Notes
It seems that when the number of uploaded medias is nonzero and may be fetched in a single request, the loading spinner never disappears.
Works: https://en.m.wikipedia.beta.wmflabs.org/wiki/Special:Uploads/jdlrobson
Fails: https://en.m.wikipedia.beta.wmflabs.org/wiki/Special:Uploads/Wik781
{F14044955}
=== Environments observed
**OS Version:**
- Ubuntu v17.10
**Device Model:**
- Desktop
**Device Language:**
- English (beta cluster)
== Developer notes
This appears to be viewport specific and happens when the viewport cannot be scrolled. If you minimise your window the spinner disappears. This is thus a problem for the InfiniteScroll module.
If
```
$(window).height() === $('body').height()
```
The InfiniteScroll module should fire an event straight away as it cannot rely on scrolling.