Fix lightbox multi-loading
This commit is contained in:
@@ -56,7 +56,7 @@
|
||||
return this.mouseOverDrill?'drill-message':'marker';
|
||||
},
|
||||
anchorLink() {
|
||||
return '#'+[this.hash.page, this.hash.items[0], this.options.type, this.options.id].join(this.consts.hash_sep);
|
||||
return '#'+[this.hash.page, this.project.currProject.codename, this.options.type, this.options.id].join(this.consts.hash_sep);
|
||||
},
|
||||
modeHisto() {
|
||||
return (this.project.currProject.mode == this.consts.modes.histo);
|
||||
@@ -104,7 +104,7 @@
|
||||
this.popupRequested = true;
|
||||
|
||||
if(this.isMobile()) this.project.toggleFeedPanel(false, 'panToInstant');
|
||||
this.hash.items = [this.hash.items[0], this.options.type, this.options.id];
|
||||
this.hash.items = [this.project.currProject.codename, this.options.type, this.options.id];
|
||||
|
||||
return this.map.panToBetweenPanels(this.relatedMarkerLatLng, this.focusZoomLevel, iAnimDuration).then(() => {
|
||||
this.openMarkerPopup(false);
|
||||
|
||||
Reference in New Issue
Block a user