dimsemenov/PhotoSwipe

Exception: Cannot read property 'updateScrollOffset' of null

mbratukha opened this issue · 1 comments

In the latest version of PhotoSwipe (4.1.2) I'm getting the following error:
photoswipe_bug

It happens when I go through images with buttons 'previous' and 'next'.

Any ideas?

Windows 10
Google Chrome 59.0.3071.115

@orthes' fix should do the trick.