Eimert Vink

Results 2 comments of Eimert Vink

Possible fix: adding ```sudo -i``` to $HOME/.bash_profile, since that file is only loaded on interactive logins.

> new PhotoSwipe(pswpElement, PhotoSwipeUI_Default, images, options),pswpElement is valid? Thanks for your response. ![afbeelding](https://user-images.githubusercontent.com/12744003/87236383-26902a80-c3e9-11ea-978f-00a2ea928df4.png) pswpElement seems invalid (null). I think that's because pswpElement is used in the PhotoSwipe constructor before it...