0
Я использую это Animated Responsive Image Grid with Photoswipe на codepen. Демонстрационная отлично работает на рабочем столе, но на мобильном телефоне я получаю следующее сообщение об ошибке консоли:Photoswipe Mobile/Touch Uncaught TypeError
Uncaught TypeError: Cannot read property 'src' of undefined index.js:285
gallery.listen('gettingData', function(index, item) {
if (useLargeImages) {
item.src = item.o.src;
item.w = item.o.w;
item.h = item.o.h;
} else {
item.src = item.m.src;
item.w = item.m.w;
item.h = item.m.h;
}
});
Это демо использует Animated Responsive Image Grid & photoswipe