mirror of
https://github.com/FoggedLens/iD.git
synced 2026-02-12 16:52:50 +00:00
Fix panoramax errors when image not in cache (#10376)
This commit is contained in:
@@ -488,7 +488,6 @@ export default {
|
||||
_currentFrame
|
||||
.selectPhoto(d, true)
|
||||
.showPhotoFrame(wrap);
|
||||
|
||||
});
|
||||
|
||||
function localeDateString(s) {
|
||||
@@ -592,9 +591,10 @@ export default {
|
||||
|
||||
const nextImage = _cache.images.forImageId[nextId];
|
||||
|
||||
context.map().centerEase(nextImage.loc);
|
||||
|
||||
that.selectImage(context, nextImage.id);
|
||||
if (nextImage){
|
||||
context.map().centerEase(nextImage.loc);
|
||||
that.selectImage(context, nextImage.id);
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user